📄 popsetup.aspx
字号:
<%@ Page language="c#" Codebehind="PopSetup.aspx.cs" AutoEventWireup="false" Inherits="UDS.SubModule.UnitiveDocument.Mail.External.PopSetup" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>PopSetup</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<TABLE height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
<TBODY>
<TR>
<TD style="HEIGHT: 15px" vAlign="bottom" noWrap></TD>
</TR>
<TR>
<TD style="HEIGHT: 1px" noWrap></TD>
</TR>
<TR>
<TD class="curstep" style="HEIGHT: 20px" noWrap align="right" bgColor="#93bee2" colSpan="1"
rowSpan="1"><FONT face="宋体">POP 邮件设置</FONT>
</TD>
</TR>
<TR>
<TD vAlign="top" noWrap align="center">
<TABLE height="100%" cellSpacing="0" cellPadding="0" width="95%" border="0">
<TBODY>
<TR>
<TD vAlign="top" noWrap>
<TABLE height="100%" cellSpacing="1" cellPadding="10" width="100%" border="0">
<TBODY>
<TR>
<TD class="td" vAlign="top" width="612">
<TABLE class="td" cellSpacing="0" cellPadding="0" width="100%" border="0">
<TR>
<TD height="10"><FONT face="宋体"></FONT></TD>
</TR>
<TR>
<TD align="right" height="10"> </TD>
</TR>
<TR>
<TD align="right" height="15"><asp:button id="btnOK" runat="server" Text="确定"></asp:button><asp:button id="btnCancel" runat="server" Text="返回"></asp:button></TD>
</TR>
<TR>
<TD class="curstep" style="HEIGHT: 24px" bgColor="#dbeaf5"> 设置 第一个 POP 帐户(默认):
</TD>
</TR>
<TR>
<TD height="1">
<TABLE class="td" cellSpacing="0" cellPadding="0" width="100%" border="0">
<TR>
<TD style="WIDTH: 223px" height="5"></TD>
<TD height="5"></TD>
</TR>
<TR>
<TD style="WIDTH: 223px">显示名称:
</TD>
<TD><asp:textbox id="txtTitle1" runat="server" Width="200px"></asp:textbox></TD>
</TR>
<TR>
<TD style="WIDTH: 223px">电子邮件地址:
</TD>
<TD><asp:textbox id="txtEmail1" runat="server" Width="200px"></asp:textbox><asp:regularexpressionvalidator id="RegularExpressionValidator1" runat="server" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
ControlToValidate="txtEMail1" ErrorMessage="邮件格式错误!">#</asp:regularexpressionvalidator></TD>
</TR>
<TR>
<TD style="WIDTH: 223px"><FONT class="Wf">接收邮件服务器(POP3):</FONT>
</TD>
<TD><asp:textbox id="txtPopSvrName1" runat="server" Width="200px"></asp:textbox></TD>
</TR>
<TR>
<TD style="WIDTH: 223px"><FONT class="Wf">POP 用户名:</FONT>
</TD>
<TD><asp:textbox id="txtPopUserName1" runat="server" Width="200px"></asp:textbox></TD>
</TR>
<TR>
<TD style="WIDTH: 223px"><span id="lblPwdTxt1">POP 用户密码:</span></TD>
<TD><INPUT id="lblPwd1" type="hidden" name="lblPwd1" runat="server"><asp:label id="lblPwdShow1" runat="server" Visible="False">******</asp:label></TD>
</TR>
<TR>
<TD style="WIDTH: 223px"></TD>
<TD><asp:textbox id="txtPopPwd1" runat="server" Width="200px" TextMode="Password"></asp:textbox></TD>
</TR>
<TR>
<TD style="WIDTH: 223px"><FONT class="Wf">服务器超时(以秒为单位):</FONT>
</TD>
<TD><asp:textbox id="txtTimeOut1" runat="server" Width="60px">90</asp:textbox><asp:regularexpressionvalidator id="RegularExpressionValidator6" runat="server" ValidationExpression="\d{2,3}" ControlToValidate="txtTimeOut1"
ErrorMessage="[服务器超时]输入错误!">#</asp:regularexpressionvalidator></TD>
</TR>
<TR>
<TD style="WIDTH: 223px"><FONT class="Wf">端口号:</FONT>
</TD>
<TD><asp:textbox id="txtPort1" runat="server" Width="60px">110</asp:textbox><asp:regularexpressionvalidator id="Regularexpressionvalidator9" runat="server" ValidationExpression="\d{2,5}" ControlToValidate="txtPort1"
ErrorMessage="[端口号]输入错误!">#</asp:regularexpressionvalidator>(注意:标准端口号为 110)
</TD>
</TR>
<TR>
<TD style="WIDTH: 223px"></TD>
<TD><label for="chkDelSvrMsg1"><asp:checkbox id="chkDelSvrMsg1" runat="server" Text="将邮件保留在 POP 服务器上"></asp:checkbox></label></TD>
</TR>
<TR>
<TD style="WIDTH: 223px"></TD>
<TD><label for="chkDownNew1"><asp:checkbox id="chkDownNew1" runat="server" Text="只下载新邮件"></asp:checkbox></label></TD>
</TR>
<TR>
<TD style="WIDTH: 223px"></TD>
<TD><label for="chkSvrAuth1"><FONT face="宋体"></FONT></label></TD>
</TR>
<TR>
<TD style="WIDTH: 223px"></TD>
<TD><asp:button id="btnTest1" runat="server" Text="测试邮件设置"></asp:button><asp:label id="lblResultRep1" runat="server" Visible="False" BorderColor="Red" Font-Size="X-Small"
ForeColor="Red"></asp:label></TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD height="20"></TD>
</TR>
<TR>
<TD class="curstep" bgColor="#dbeaf5" height="24">设置 第二个 POP 帐户:
</TD>
</TR>
<TR>
<TD>
<TABLE class="td" cellSpacing="0" cellPadding="0" width="100%" border="0">
<TR>
<TD style="WIDTH: 223px" height="5"></TD>
<TD height="5"></TD>
</TR>
<TR>
<TD style="WIDTH: 223px">显示名称:
</TD>
<TD><asp:textbox id="txtTitle2" runat="server" Width="200px"></asp:textbox></TD>
</TR>
<TR>
<TD style="WIDTH: 223px; HEIGHT: 16px">电子邮件地址:
</TD>
<TD style="HEIGHT: 16px"><asp:textbox id="txtEmail2" runat="server" Width="200px"></asp:textbox><asp:regularexpressionvalidator id="Regularexpressionvalidator2" runat="server" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
ControlToValidate="txtEMail2" ErrorMessage="邮件格式错误!">#</asp:regularexpressionvalidator></TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -