Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / April 2006

Tip: Looking for answers? Try searching our database.

ASPX

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Miloann - 02 Apr 2006 00:02 GMT
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>

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.