<%@ Page Language="C#" AutoEventWireup="true" CodeFile="deepSoonMailSetting.aspx.cs" Inherits="Security.MailSetting" %>

<!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>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
		<link rel="stylesheet" href="css/common.css" type="text/css" />
		<title>网站栏目规划</title>
	</head>

	<body style="padding-right:30px;overflow:hidden;">
		<form runat="server" style="margin:0px;padding:0px;">
		<div id="man_zone">
			<span class="adminTitle">邮件设置</span> <asp:Label ID="labelUpdateInfor" runat="server" Text="" class="labelInforStyle"/>
			<br>
			<span class="adminGuid">
				[操作说明] 邮件页面的默认地址为：<a href="/sendMail.aspx" target="_blank">http://您的域名/sendMail.aspx </a> 如果想启用邮件，请在目录树中添加邮件栏目，并设置邮件默认地址为栏目的外链地址。
			</span>
			<table cellpadding=0 cellspacing=1 style="font-size:13px;">
				<tr><td class="colorTd">邮件名称</td>
					<td><asp:TextBox ID="txtSetTitle" runat="server" MaxLength="20"></asp:TextBox> <span class="adminHelp">必填项，设置邮件页面的名称，不超过20个字符</span></td>
				</tr>
				<tr><td class="colorTd">提示文字</td>
					<td><asp:TextBox ID="txtSetContent" runat="server" textmode="multiline" rows="3" style="width:350px;"></asp:TextBox> <span class="adminHelp">必填项，设置邮件的提示性文字</span></td>
				</tr>
				<tr><td class="colorTd">按钮名称</td>
					<td><asp:TextBox ID="txtSetButtonName" runat="server" MaxLength="20"></asp:TextBox> <span class="adminHelp">必填项，设置邮件发送按钮的文字</span></td>
				</tr>
				<tr><td class="colorTd">邮件状态</td>
					<td>
					<asp:DropDownList ID="dropSetOpen" runat="server">
						<asp:ListItem Value="true">开启</asp:ListItem>
						<asp:ListItem Value="false">关闭</asp:ListItem>
					</asp:DropDownList> <span class="adminHelp">必填项，用于设置是否开启邮件功能，关闭邮件后前台将不能提交新邮件。</span></td>
				</tr>
				<tr><td class="colorTd">邮件Host</td>
					<td><asp:TextBox ID="txtHost" runat="server"></asp:TextBox> <span class="adminHelp">必填项，设置邮件的Host，如果是163邮箱，请填写smtp.163.com</span></td>
				</tr>
				<tr><td class="colorTd">邮箱账户</td>
					<td><asp:TextBox ID="txtAccount" runat="server"></asp:TextBox> <span class="adminHelp">必填项，设置邮箱的账户，请填写您的126(或163)的登陆账户名</span></td>
				</tr>
				<tr><td class="colorTd">邮箱密码</td>
					<td><asp:TextBox ID="txtPWD" runat="server" TextMode="Password"></asp:TextBox> <span class="adminHelp">必填项，设置邮箱的密码，请填写您的126(或163)的登陆密码</span></td>
				</tr>
				<tr><td class="colorTd">发送邮箱</td>
					<td><asp:TextBox ID="txtFromMail" runat="server"></asp:TextBox> <span class="adminHelp">必填项，设置发送邮箱地址，如XXX@126.com，该邮箱必须与上面的邮箱账户是同一个账户</span></td>
				</tr>
				<tr><td class="colorTd">接收邮箱</td>
					<td><asp:TextBox ID="txtToMail" runat="server"></asp:TextBox> <span class="adminHelp">必填项，设置接收邮箱地址，如XXX@qq.com</span></td>
				</tr>
				<tr><td class="colorTd">操 作</td>
					<td><asp:Button ID="btnUpdate" runat="server" OnClick="btnUpdate_Click" Text="保存配置" class="adminButton"/></td>
				</tr>
			</table><br><br>
		</div>
		</form>
	</body>
</html>