📄 sendmail.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SendMail.aspx.cs" Inherits="SendMail" %>
<!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>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div style="top:80px;left:200px;position:absolute;">
<table style="width: 400px;" border="0" bordercolor="#3399ff" cellpadding="0" cellspacing="0">
<tr>
<td width="20%" style="font-size: 12px">STMP主机:</td>
<td style="width: 320px;font-size: 12px;"><asp:TextBox ID="tbSmtpServer" runat="server" ForeColor="Olive">smtp.163.com</asp:TextBox>
如:smtp.163.com</td>
</tr>
<tr>
<td style="font-size: 12px">发件人地址:</td>
<td style="width: 320px"><asp:TextBox ID="tbSender" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td style="font-size: 12px">发件人密码:</td>
<td style="width: 320px"><asp:TextBox ID="tbSenderPwd" runat="server" TextMode="Password" Width="148px"></asp:TextBox></td>
</tr>
<tr>
<td colspan="2" style="height:5px;"></td>
</tr>
<tr>
<td style="font-size: 12px;">收件人地址:</td>
<td style="width: 320px"><asp:TextBox ID="tbReceive" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td style="font-size: 12px; height: 19px;">邮件主题:</td>
<td style="height: 19px; width: 320px;">
<asp:TextBox ID="tbTitle" runat="server" Width="309px"></asp:TextBox></td>
</tr>
<tr>
<td style="font-size: 12px;" valign="top">邮件正文:</td>
<td style="height: 19px; width: 320px;"><asp:TextBox ID="tbContent" runat="server" TextMode="MultiLine" Height="163px" Width="308px"></asp:TextBox></td>
</tr>
<tr>
<td style="font-size: 12px; height: 19px"></td>
<td style="height: 19px; width: 320px;"><asp:Button ID="btnSendMail" runat="server" Text="发送邮件" OnClick="btnSendMail_Click" />
<span style="font-size: 12px"><a href="MailServer.aspx">转到邮件服务器</a></span></td>
</tr>
<tr>
<td id="tdError" runat="server" colspan="2" style="font-size: 12px; height: 19px">
</td>
</tr>
<tr>
<td id="tdSucces" runat="server" colspan="2" style="font-size: 12px; height: 19px">
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -