<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="emailconfig.aspx.cs" Inherits="Focus.Admin.emailconfig" %>
<%@ Register TagPrefix="cc1" Namespace="Focus.Control" Assembly="Focus.Control" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
	<head>
		<title>站点服务邮箱</title>
		<script type="text/javascript" src="js/common.js"></script>
		<link href="styles/fntmanager.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/SysEmail.gif) no-repeat 3px 20%;">站点服务邮箱</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="td1">站点邮箱地址:</td>
					<td class="td1"><cc1:TextBox id="sysemail" runat="server" RequiredFieldType="电子邮箱" CanBeNull="必填" Width="200"></cc1:TextBox></td>
				</tr>
				<tr>
					<td class="td2">邮箱帐号:</td>
					<td class="td2"><cc1:TextBox id="userName" runat="server" RequiredFieldType="暂无校验" CanBeNull="必填" Width="200"></cc1:TextBox></td>
					<td class="td1">邮箱密码:</td>
					<td class="td1"><cc1:TextBox id="_password" runat="server" RequiredFieldType="暂无校验" CanBeNull="必填" Width="200"	></cc1:TextBox></td>
				</tr>
				<tr><td align="center" colspan="4"><cc1:Button id="SaveEmailInfo" runat="server" 
                        Text=" 提 交 " onclick="SaveEmailInfo_Click"></cc1:Button></td></tr>
			</table>
		</fieldset>
		<fieldset>
		<legend style="background:url(images/icons/SendMail.gif) no-repeat 3px 20%;">测试邮件配置</legend>
			<table id="Table2" class="table1" cellspacing="0" cellPadding="4" width="100%" border="0">
				<tr>
					<td class="td2" width="20%">测试接收邮件地址:</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=" 发送测试邮件 " onclick="sendTestEmail_Click"></cc1:Button></td></tr>
			</table>
		</fieldset>
		</form>
		</div>
	</body>
</html>
