|
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
<%@ Register Assembly="GradientPanel" Namespace="BXSW.SLControls" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>SMTP Demonstration</title>
</head>
<body style="font-size: medium; font-family: Arial; color: navy;" bottommargin="0" leftmargin="0" rightmargin="0" topmargin="0" text="#000099">
<form id="form1" runat="server">
<div>
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%; height: 100%">
<tr>
<td height="60" valign="bottom">
<cc1:GradientPanel ID="GradientPanel1" runat="server" Direction="Vertical" EndColor="DarkGray"
Font-Bold="True" Font-Names="Arial" Font-Size="Large" ForeColor="Black" Height="60px"
StartColor="LightSteelBlue">
<br />
ASP.NET 2.0 - Send SMTP Mail Demonstration<br />
</cc1:GradientPanel>
<br />
</td>
</tr>
<tr>
<td height="100%" valign="top">
<table style="width: 100%">
<tr>
<td align="right" style="width: 20%; height: 9px" valign="top">
To:
</td>
<td style="width: 100%; height: 9px" valign="top">
<asp:TextBox ID="txtTo" runat="server" Width="432px"></asp:TextBox></td>
</tr>
<tr>
<td align="right" height="10" style="width: 20%" valign="top">
From:
</td>
<td height="20" style="width: 100%" valign="top">
<asp:TextBox ID="txtFrom" runat="server" Width="432px"></asp:TextBox></td>
</tr>
<tr>
<td align="right" height="10" style="width: 20%" valign="top">
CC:
</td>
<td height="20" style="width: 100%" valign="top">
<asp:TextBox ID="txtCC" runat="server" Width="432px"></asp:TextBox></td>
</tr>
<tr>
<td align="right" height="10" style="width: 20%" valign="top">
Subject:
</td>
<td height="20" style="width: 100%" valign="top">
<asp:TextBox ID="txtSubject" runat="server" Width="432px"></asp:TextBox></td>
</tr>
<tr>
<td align="right" height="10" style="width: 20%" valign="top">
Message:
</td>
<td height="20" style="width: 100%" valign="top">
<asp:TextBox ID="txtMessage" runat="server" Height="216px" TextMode="MultiLine" Width="432px"></asp:TextBox></td>
</tr>
<tr>
<td align="right" height="10" style="width: 20%" valign="top">
Attachments:
</td>
<td height="20" style="width: 100%" valign="top">
<asp:FileUpload ID="fileAttachments" runat="server" Width="520px" /></td>
</tr>
<tr>
<td align="right" style="width: 20%; height: 20px" valign="top">
</td>
<td style="width: 100%; height: 20px" valign="top">
<asp:Button ID="btnClear" runat="server" Text="Clear" />
<asp:Button ID="btnSend" runat="server" Text="Send" /></td>
</tr>
</table>
<br />
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/sendSmsMsg.aspx">No, I want to send an SMS Message to a Cell Phone</asp:HyperLink></td>
</tr>
</table>
</div>
</form>
</body>
</html>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.