ASPX

M

Miloann

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>
 
V

vincent

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top