<%@ LANGUAGE = "VBScript.Encode" codepage="65001" %>
<!--
'##################################################################                                                                 
'★         web08.net - 威博购物系统                                              
'★  版权所有: web08.net                                                                                                       
'★  程序制作: 威博网络技术公司                                     
'★           email:web08net@hotmail.com                           
'★            Q Q :645095280,475980829
'★	       电话:021-55520018                                                                                                         
'★  相关网址: [产品介绍] http://www.021web.com.cn/gwxt.html
'★            [支持论坛] http://bbs.web08.net/                                                                                     
'★  主页地址: http://www.web08.net/  
'★		http://www.021web.com.cn/		 	                                                                 
'###################################################################
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../css/css.css" rel="stylesheet" type="text/css">
<title>添加邮件</title>
</head>
<!--#include file=../include2.asp-->

<script language=javascript>
<!--
function check_str()
{


if(document.myform.MC_SysMail.value=="")
{
alert('Email不能为空!');
myform.MC_SysMail.focus();
return false;
}
var re = new RegExp("^([A-Za-z0-9_|-]+[.]*[A-Za-z0-9_|-]+)+@[A-Za-z0-9|-]+([.][A-Za-z0-9|-]+)*[.][A-Za-z0-9]+$","ig");
if (!re.test(myform.MC_SysMail.value))
{	
alert("E-MAIL格式不正确！");
myform.MC_SysMail.focus();
return false;
}
if(document.myform.MC_Manager.value=="")
{
alert('发件人不能为空!');
myform.MC_Manager.focus();
return false;
}
if(document.myform.MC_MailServer.value=="")
{
alert('邮件服务器地址不能为空!');
myform.MC_MailServer.focus();
return false;
}

if(document.myform.MC_EmailUid.value=="")
{
alert('邮件用户名不能为空!');
myform.MC_EmailUid.focus();
return false;
}
if(document.myform.MC_EmailPwd.value=="")
{
alert('邮件密码不能为空!');
myform.MC_EmailPwd.focus();
return false;
}

}
-->
</script>
<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 class="background" onLoad="LoadFinish()">
<!-- #include file="../loading2.asp" -->
<center>
<!--#include file="../other/web_other_include.asp"-->
<div class="div-top">
<span class="right-span"><a href="maillist.asp"> <font color="#990000">返回邮件列表</font></a>&nbsp;&nbsp;</span>
<span class="left-span">&nbsp;&nbsp;<strong>管理中心</strong>  - <%#@~^GQAAAA==r6P.;!+/D`r2k9Jb'rJ~O4+xGggAAA==^#~@%>添加邮件<%#@~^BAAAAA==n^/nqQEAAA==^#~@%>编辑邮件<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%> </span>
</div>

<div class="tab-div">
<%#@~^GQAAAA==r6P.;!+/D`r2k9Jb'rJ~O4+xGggAAA==^#~@%>
<form action="wmailsave.asp?action=mailconfig" method="post" name="myform">   
<table width="100%"  border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC" class="right2">
<tr>
<td width="20%" height="20" align="right" bgcolor="#FFFFFF">&nbsp;</td>
<td width="80%" height="30" align="left" bgcolor="#FFFFFF"><select name="select" class="input10b">
<option value="1">JMail邮件</option>
</select></td>
</tr>
<tr>
<td width="20%" height="20" align="right" bgcolor="#FFFFFF">发件邮件：</td>
<td width="80%" height="30" align="left" bgcolor="#FFFFFF">
<input name="MC_SysMail" type="text" id="MC_SysMail"  maxlength="25">
如：web08net@163.com
</label></td>
</tr>
<tr>
<td width="20%" height="20" align="right" bgcolor="#FFFFFF">发件人： </td>
<td width="80%" height="30" align="left" bgcolor="#FFFFFF">
<input name="MC_Manager" type="text" id="MC_Manager" maxlength="25">
如：管理员，系统</td>
</tr>
<tr>
<td width="20%" height="20" align="right" bgcolor="#FFFFFF">邮件服务器：</td>
<td width="80%" height="30" align="left" bgcolor="#FFFFFF">
<input name="MC_MailServer" type="text" id="MC_MailServer" maxlength="30" >
&nbsp;格式如：smtp.163.com</td>
</tr>
<tr>
<td width="20%" height="20" align="right" bgcolor="#FFFFFF">帐号：</td>
<td width="80%" height="30" align="left" bgcolor="#FFFFFF">
<input name="MC_EmailUid" type="text" id="MC_EmailUid" maxlength="25">
web08net                              </td>
</tr>
<tr>
<td width="20%" height="20" align="right" bgcolor="#FFFFFF">密码：</td>
<td width="80%" height="30" align="left" bgcolor="#FFFFFF">
<input name="MC_EmailPwd" type="password" id="MC_EmailPwd" maxlength="20" >
邮件密码</td>
</tr>
<tr>
<td width="20%" height="20" align="right" bgcolor="#FFFFFF">是否默认：</td>
<td height="30" align="left" bgcolor="#FFFFFF"><p>

<input name="ck" type="checkbox" id="ck" value="1">

</p></td>
</tr>

<tr>
<td height="30" align="center" bgcolor="#FFFFFF"><label></label></td>
<td height="30" align="left" bgcolor="#FFFFFF"><input name="Submit42" type="submit" class="ModeBarBtnOn" value=" 确 定 " onClick="return check_str();">
  <input name="Submit222" type="reset" class="ModeBarBtnOn" value=" 取 消 ">
  <label></label></td>
</tr>
</table>
</form>

<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>
<%#@~^HAAAAA==r6P.;!+/D`r2k9Jb@!@*JE~Dt+	VwgAAA==^#~@%>
<%#@~^WQAAAA==^KxU94@#@&/Y,./{mGx	RnamEDn`r/+^n^Y,e,0.Wh~q+8{tCk^ZGU6ko~A4+.+,r9'ELD;E/DcJak[J*[EE*YR0AAA==^#~@%>

<form action="wmailsave.asp?action=editmailconfig" method="post" name="myform">

<table width="100%"  border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC" class="right2">

<tr>
<td width="20%" height="20" align="right" bgcolor="#FFFFFF">&nbsp;</td>
<td width="80%" height="30" align="left" bgcolor="#FFFFFF"><select name="select" class="input10b">
<option value="1">JMail邮件</option>
</select></td>
</tr>
<tr>
<td width="20%" height="20" align="right" bgcolor="#FFFFFF">发件邮件：</td>
<td width="80%" height="30" align="left" bgcolor="#FFFFFF">
<input name="MC_SysMail" type="text" id="MC_SysMail" value="<%=#@~^EAAAAA==.k`EtZ|?XkHmrVr#KwUAAA==^#~@%>"  maxlength="25">
如：web08net@163.com
</label></td>
</tr>
<tr>
<td width="20%" height="20" align="right" bgcolor="#FFFFFF">发件人： </td>
<td width="80%" height="30" align="left" bgcolor="#FFFFFF">
<input name="MC_Manager" type="text" id="MC_Manager" value="<%=#@~^EAAAAA==.k`EtZ|Hl	lTnDr#JAUAAA==^#~@%>"  maxlength="25">
如：管理员，系统                              </td>
</tr>
<tr>
<td width="20%" height="20" align="right" bgcolor="#FFFFFF">邮件服务器：</td>
<td width="80%" height="30" align="left" bgcolor="#FFFFFF">
<input name="MC_MailServer" type="text" id="MC_MailServer" value="<%=#@~^EwAAAA==.k`EtZ|HlbVUnD7+.J*YwYAAA==^#~@%>"  maxlength="15">
&nbsp;格式如：smtp.163.com</td>
</tr>
<tr>
<td width="20%" height="20" align="right" bgcolor="#FFFFFF">帐号：</td>
<td width="80%" height="30" align="left" bgcolor="#FFFFFF">
<input name="MC_EmailUid" type="text" id="MC_EmailUid"value="<%=#@~^EQAAAA==.k`EtZ|2:mk^ik9JbcwUAAA==^#~@%>"  maxlength="25">
web08net                              </td>
</tr>
<tr>
<td width="20%" height="20" align="right" bgcolor="#FFFFFF">密码：</td>
<td width="80%" height="30" align="left" bgcolor="#FFFFFF">
<input name="MC_EmailPwd" type="password" id="MC_EmailPwd" value="<%=#@~^EQAAAA==.k`EtZ|2:mk^Kh9JbfAUAAA==^#~@%>" maxlength="20">
<input type="hidden" name="page" value="<%=#@~^DwAAAA==.;;/D`JalTnJ*OwUAAA==^#~@%>">
<input type="hidden" name="id" value="<%=#@~^DgAAAA==.;;/D`Jak9E#2wQAAA==^#~@%>">
邮件密码                              </td>
</tr>
<tr>
<td width="20%" height="20" align="right" bgcolor="#FFFFFF">是否默认：</td>
<td width="80%" height="30" align="left" bgcolor="#FFFFFF"><input name="ck" type="checkbox" id="ck" value="1" <%#@~^GAAAAA==r6P.k`rHZ|sd)Mr#xF,Y4n	PzwYAAA==^#~@%>checked <%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%>></td>
</tr>

<tr>
<td height="30" align="center" bgcolor="#FFFFFF"><label></label></td>
<td height="30" align="left" bgcolor="#FFFFFF"><input name="Submit43" type="submit" class="ModeBarBtnOn" value=" 确 定 " onClick="return check_str();">
  <input name="Submit223" type="reset" class="ModeBarBtnOn" value=" 取 消 ">
  <label></label></td>
</tr>
</table>
</form>

<%#@~^BwAAAA==n	N~b0,RgIAAA==^#~@%>
</div>
</center>
<!-- #include file="../bottom2.asp" -->
</body>
</html>




