<!--#include file="include/conn.asp"-->
<html>
<title>邮件配置</title>
<head>
<link href="images/lst.css" rel="stylesheet" type="text/css" />
</head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">
<%
dim gz
Set gz= oConn.Execute("SELECT top 1 * FROM [LstEmail] where Id =1")
%>
<!----头文件---->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td width="17" height="29" valign="top" background="images/mail_leftbg.gif"><img src="images/left-top-right.gif" width="17" height="29" /></td>
<td height="29" valign="top" background="images/content-bg.gif">
<table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2"><tr><td height="31"><div class="titlebt">邮件配置</div></td></tr></table>
</td><td width="16" valign="top" background="images/mail_rightbg.gif"><img src="images/nav-right-bg.gif" width="16" height="29"/></td></tr>
<tr><td valign="middle" background="images/mail_leftbg.gif"></td>
<!------------------------------------------------------>
<td valign="top">
<table border="1" width="100%" cellpadding="2" style="border-collapse: collapse" bordercolor="#B5D0D9" bgcolor="#FFFFFF">
	<tr>
		<td>
		
		
		
		
		
		
<form action="?action=eddemail" method=post>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20%" height="30" align="right" bgcolor="#f2f2f2" class="left_txt2">是否开通：</td>
<td width="3%" bgcolor="#f2f2f2" height="30">　</td>
<td width="32%" height="30" bgcolor="#f2f2f2">
<select name="MailState">
<option value="<%=gz("MailState")%>"><%If gz("MailState")=1 Then%>开通<%Else%>不开通<%End If%></option>
<option value=0>不开通</option>
<option value=1>开通</option>
</select></td>
<td width="45%" height="30" bgcolor="#f2f2f2" class="left_txt"> * 开通之后，找回密码及申请退款将会收到邮件。</td>
</tr>
<tr>
<td height="30" align="right" class="left_txt2">邮件服务器：</td>
<td height="30">　</td>
<td height="30">
<input type="text" name="MailSTMP" size="30" value="<%=gz("MailSTMP")%>" /></td>
<td height="30" class="left_txt"> * 如smtp.163.com</td>
</tr>
<tr>
<td height="30" align="right" bgcolor="#f2f2f2" class="left_txt2">账号：</td>
<td bgcolor="#f2f2f2" height="30">　</td>
<td height="30" bgcolor="#f2f2f2">
<input type="text" name="MailName" size="25" value="<%=gz("MailName")%>" /></td>
<td height="30" bgcolor="#f2f2f2" class="left_txt"> * 邮箱登录的帐号</td>
</tr>
<tr>
<td height="30" align="right" bgcolor="#f2f2f2" class="left_txt2">密码：</td>
<td bgcolor="#f2f2f2" height="30">　</td>
<td height="30" bgcolor="#f2f2f2">
<input type="text" name="MailPass" size="25" value="<%=gz("MailPass")%>" /></td>
<td height="30" bgcolor="#f2f2f2" class="left_txt"> * 邮箱登录的密码</td>
</tr>
<tr>
<td height="30" align="right" bgcolor="#f2f2f2" class="left_txt2">发件邮箱地址：</td>
<td bgcolor="#f2f2f2" height="30">　</td>
<td height="30" bgcolor="#f2f2f2">
<input type="text" name="MailEmailName" size="25" value="<%=gz("MailEmailName")%>" /></td>
<td height="30" bgcolor="#f2f2f2" class="left_txt"> * 如果yunan@youname.com</td>
</tr>
<tr>
<td height="30" align="right" bgcolor="#f2f2f2" class="left_txt2">发件人：</td>
<td bgcolor="#f2f2f2" height="30">　</td>
<td height="30" bgcolor="#f2f2f2">
<input type="text" name="MailTitle" size="25" value="<%=gz("MailTitle")%>" /></td>
<td height="30" bgcolor="#f2f2f2" class="left_txt"> * 如:网站的名称</td>
</tr>
<tr>
<td height="30" align="right" bgcolor="#FFFFFF" class="left_txt2">
　</td>
<td bgcolor="#FFFFFF" height="30">　</td>
<td height="30" bgcolor="#FFFFFF">
<input type="submit" value="完成以上修改" name="B1" /><input type="reset" value="取消设置" name="B12" /></td>
<td height="30" bgcolor="#FFFFFF" class="left_txt"> * 请确保您的空间支持Jmail等相关组件。</td>
</tr>
</table>
</form>
		
		
<form action="/UserInfo.asp?action=ceshimail" method=post>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30" align="right" bgcolor="#f2f2f2" class="left_txt2">收件邮箱地址：</td>
<td bgcolor="#f2f2f2" height="30">　</td>
<td height="30" bgcolor="#f2f2f2">
<input type="text" name="semail" size="25" value="" /></td>
<td height="30" bgcolor="#f2f2f2" class="left_txt"> * 如果yunan@youname.com</td>
</tr>
<tr>
<td height="30" align="right" bgcolor="#FFFFFF" class="left_txt2">
　</td>
<td bgcolor="#FFFFFF" height="30">　</td>
<td height="30" bgcolor="#FFFFFF">
<input type="submit" value="测试发送" name="B1" /></td>
<td height="30" bgcolor="#FFFFFF" class="left_txt">
　</td>
</tr>
</table>
</form>		
		
		
		
		
		</td>
	</tr>
</table>
</td>
<!------------------------------------------------------>
<!----尾文件---->
<td background="images/mail_rightbg.gif"></td></tr><tr>
<td valign="middle" background="images/mail_leftbg.gif"><img src="images/buttom_left2.gif" width="17" height="17" /></td>
<td height="17" valign="top" background="images/buttom_bgs.gif"><img src="images/buttom_bgs.gif" width="17" height="17" /></td>
<td background="images/mail_rightbg.gif"><img src="images/buttom_right2.gif" width="16" height="17" /></td></tr>
</table>
</body>
</html>
<!--#include file="v.asp"-->