<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="siteemail.aspx.cs" Inherits="Kcms.UI.admin.siteemail" %>
<%@ Register assembly="PageNavigator" namespace="KcNavigator" tagprefix="Kc" %>
<!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>
    <title></title>
    <link href="skins/work-style.css" rel="stylesheet" type="text/css" />
    <script src="/inc/artDialog/artDialog.min.js" type="text/javascript"></script>
    <script src="../scripts/public.js" type="text/javascript"></script>
</head>
<body>
    <form id="form2" runat="server">
<div class="container">
 <div class="path clearfix"><div class="l"><h4><img src="skins/icon/accountmanagement_summ.gif" align="absmiddle" />邮箱设置</h4></div><div class="r"><asp:Literal ID="litAdv" runat="server"></asp:Literal></div></div>
 <div class="mbox clearfix">
  <div class="left">
    <a href="siteconfig.aspx">基本设置</a>
    <a href="siteemail.aspx" class="on">邮箱设置</a>
    <a href="sitewatermark.aspx">水印设置</a>
    <a href="sitemailtemp.aspx">邮件模版</a>
  </div>
  <div class="right">
<table class="rtable" width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
  <td width="20%">SMTP服务器地址：<asp:RequiredFieldValidator ID="RequiredFieldValidator1" 
          runat="server" ControlToValidate="txtSMTP" Display="Dynamic" 
          ErrorMessage="*"></asp:RequiredFieldValidator>
    </td>
  <td>
      <asp:TextBox ID="txtSMTP" runat="server" Width="220px"></asp:TextBox>
      <br />
      SMTP服务器地址，例如smtp.126.com,smtp.qq.com。请确认你的邮箱具有SMTP服务并开启。</td>
</tr>
<tr>
  <td>启用安全连接(SSL)：</td>
  <td>
      <asp:CheckBox ID="chkSSL" runat="server" Text="是" />
    </td>
</tr>
<tr>
  <td>SMTP端口号：<asp:RequiredFieldValidator ID="RequiredFieldValidator2" 
          runat="server" ControlToValidate="txtPort" Display="Dynamic" 
          ErrorMessage="*"></asp:RequiredFieldValidator>
    </td>
  <td><asp:TextBox ID="txtPort" runat="server"
          onkeyup="this.value=this.value.replace(/\D/g,'')" onpaste="return false" 
          style="ime-mode:disabled" Width="48px">25</asp:TextBox>
      <br />
      设置SMTP服务器的端口号，一般默认都是25。</td>
</tr>
<tr>
  <td>邮箱地址：<asp:RequiredFieldValidator ID="RequiredFieldValidator3" 
          runat="server" ControlToValidate="txtUser" Display="Dynamic" 
          ErrorMessage="*"></asp:RequiredFieldValidator>
    </td>
  <td>
      <asp:TextBox ID="txtUser" runat="server" Width="220px"></asp:TextBox>
      <br />
      设置您的邮件地址，例如kuaishow@126.com</td>
</tr>
<tr>
  <td>SMTP密码：</td>
  <td>
      <asp:TextBox ID="txtPass" runat="server" Width="220px" TextMode="Password"></asp:TextBox>
      <asp:CheckBox ID="chkNoPass" runat="server" Text="空密码" />
      <br />
      设置您登录邮箱的密码。</td>
</tr>
<tr>
  <td>&nbsp;</td>
  <td><asp:Button ID="btnPost" runat="server" CssClass="btn0" Text="保 存" 
          onclick="btnPost_Click" /></td>
</tr>
</table>
  </div>
 </div>
</div>
</form>
</body>
</html>