<%@ Register TagPrefix="cc1" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
<%@ Page language="c#" Inherits="Discuz.ForumPage.Admin.emailconfig" Codebehind="global_emailconfig.aspx.cs" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
	<head>
		<title>邮箱设置</title>
		<script language="javascript" src="../js/common.js"></script>
		<link href="../styles/dntmanager.css" type="text/css" rel="stylesheet">  
	</head>
	<body>
	<div class="ManagerForm">
		<form id="Form1" method="post" runat="server">
		<fieldset>
		<legend style="background:url(../images/icons/icon41.jpg) no-repeat 6px 50%;">SMTP配置</legend>
			<table id="Table1" class="table1" cellspacing="0" cellPadding="4" width="100%" border="0">
				<tr>
					<td class="td1" width="20%">SMTP服务器:</td>
					<td class="td1" width="30%"><cc1:TextBox id="smtp" runat="server" RequiredFieldType="暂无校验" CanBeNull="必填" Width="200"></cc1:TextBox></td>
					<td class="td2" width="20%">SMTP端口:</td>
					<td class="td2" width="30%"><cc1:TextBox id="port" runat="server" RequiredFieldType="数据校验" CanBeNull="必填" size="7" maxlength="5"></cc1:TextBox></td>
				</tr>
				<tr>
					<td class="td1">系统邮箱名称:</td>
					<td class="td1"><cc1:TextBox id="sysemail" runat="server" RequiredFieldType="电子邮箱" CanBeNull="必填" Width="200"></cc1:TextBox></td>
					<td class="td2">用户名:</td>
					<td class="td2"><cc1:TextBox id="userName" runat="server" RequiredFieldType="暂无校验" CanBeNull="必填" Width="200"></cc1:TextBox></td>
				</tr>
				<tr>
					<td class="td1">系统邮箱密码:</td>
					<td class="td1"><cc1:TextBox id="password" runat="server" RequiredFieldType="暂无校验" CanBeNull="必填" Width="200"	></cc1:TextBox></td>
					<td class="td2">发送邮件程序:</td>
					<td class="td2"><cc1:dropdownlist id="smtpemail" runat="server"></cc1:dropdownlist></td>
				</tr>
				<tr><td align="center" colspan="4"><cc1:Button id="SaveEmailInfo" runat="server" Text=" 提 交 "></cc1:Button></td></tr>
			</table>
		</fieldset>
		<fieldset>
		<legend style="background:url(../images/icons/icon40.jpg) no-repeat 6px 50%;">测试邮件配置</legend>
			<table id="Table2" class="table1" cellspacing="0" cellPadding="4" width="100%" border="0">
				<tr>
					<td class="td2" width="20%">EMAIL:</td>
					<td class="td2"><cc1:TextBox id="testEmail" runat="server" RequiredFieldType="电子邮箱" CanBeNull="可为空" Width="300"></cc1:TextBox></td>
				</tr>
				<tr><td align="center" colspan="2"><cc1:Button id="sendTestEmail" runat="server" Text=" 发送测试邮件 "></cc1:Button></td></tr>
			</table>
		</fieldset>
		</form>
		</div>
		<% =footer %>
	</body>
</html>
