We are implementing an application that sends reminder emails to employees
in other departments through intranet. The application comes with an email
template in ASPX. Can I modify the codes to include an attached word
document? Where should I store the word document? The APSX codes is listed
as follows:
<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="ImplementationReminder.aspx.vb"
Inherits="xxx.WebUI.ImplementationReminder"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>TeamCentral</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5"
name="vs_targetSchema">
<style>
BODY { MARGIN: 30px; FONT-FAMILY: arial,Sans-Serif }
DIV { WIDTH: 100% }
TABLE { WIDTH: 80% }
TD { FONT-SIZE: 10pt; font-face: Verdana, Arial, System }
HR { COLOR: #ccebf5; HEIGHT: 1px }
.heading { COLOR: #0099cc }
.subHeading { FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: #003366;
TEXT-DECORATION: none }
.subHeading:hover { TEXT-DECORATION: underline }
.topBanner { BACKGROUND-COLOR: #003366 }
.subBanner { HEIGHT: 15px; BACKGROUND-COLOR: #0099cc }
.date { FONT-SIZE: 10pt }
.container {border-left: #0099CC 1px solid; border-right: #0099CC 1px
solid; border-bottom: #0099CC 1px solid; width:100%;}
</style>
</HEAD>
<body>
<form id="Form" method="post" runat="server">
<div class="topBanner">
<img id="HeaderImage" runat="server" alt="TeamCentral - TeamMate Audit
Management System"/>
</div>
<div class="subBanner"></div>
<center>
<table cellpadding="10" cellspacing="0" class="container">
<tr><td>
<table style="width:100%">
<tr>
<td class="heading">
<asp:Label Runat="server" ID="Name"></asp:Label>
<br>
<br>
</td>
</tr>
<tr>
<td>
This is a reminder that you have the following recommendations
approaching their implementation dates. Please update each recommendation
in TeamCentral by either indicating that it is implemented or revising your
implementation date. If you have any questions about how to enter your
implementation updates in TeamCentral, please contact (Jane Doe) at (ext.
123).
</td>
</tr>
<tr>
<td><hr>
</td>
</tr>
<tr>
<td>
<asp:Repeater Runat="server" ID="List">
<HeaderTemplate>
<table style="width:100%"">
</HeaderTemplate>
<ItemTemplate>
<tr>
<td>
<asp:HyperLink Runat="server"
NavigateUrl="<%#Me.GetLink(Container.DataItem)%>" class="subHeading"
Font-Underline="True"><%#Me.GetTitle(Container.DataItem)%></asp:HyperLink>
</td>
<td align="right" width="15%">
<asp:Label Runat="server"
class="date"><%#Me.GetDate(Container.DataItem)%></asp:Label>
</td>
</tr>
</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
</asp:Repeater>
</td>
</tr>
</table>
</td></tr></table>
</center>
</form>
</body>
</HTML>
vincent - 02 Apr 2006 00:21 GMT
Hello Miloann,
1. Wrong newsgroup, your question is not related with webservices
2. If you want to attach a file, you should look at the code sending emails,
not the one creating its content.
3. It depends of the way emails are sent, but maybe you can add an hyperlink
to your file in your aspx page.
4. Good luck.
> We are implementing an application that sends reminder emails to
> employees in other departments through intranet. The application
[quoted text clipped - 101 lines]
> </body>
> </HTML
Miloann - 03 Apr 2006 00:51 GMT
Which group do you recommen I submit the question? Thanks.
> Hello Miloann,
>
[quoted text clipped - 110 lines]
>> </body>
>> </HTML>