<%@ Page Language="C#" AutoEventWireup="true" debug="true" Inherits="WinLibClass.Form.Admin.SystemConfig.UI_Update"  CodePage="65001" CurrentFile="updateconfig1.aspx"%>


<script type="text/javascript"> 
$(document).ready(function(){

});
function SaveConfig_1()
{
	if(!confirm("是否保存邮箱配置?")) return false;
	
	var queryString = $('#form_add').serialize();
	var url = "../index.aspx?s=/Admin/SystemConfig_Update";
	jQuery.ajax({
		"type":"POST",
		"url":url,
		data:queryString
		,success:function(msg){
			if(msg==1) {Alert("站点配置已保存.",1);Common.EditDialogClose("SystemConfig_List_2");}
			else AlertErr("邮箱信息保存失败(异常代码:"+ msg +")",1);
		},
		error:function(msg)
		{
			AlertErr("系统异常:\r\n"+ msg.responseText +"",1);
		}});
	
	return false;
}


</script> 

<div class="">
	
<form id="form_add">	
<input type="hidden" id="ConfigType" name="ConfigType" value="1" />
<div class="TableUpdateDiv W600"  >
<div style="width:98%;">
	<table class="TableUpdate" style="text-align:left;" >
	
	<tr>
	<td style="text-align:left;color:#666666;">
		<b>邮箱配置:</b>(该邮箱用于给网站会员发送邮件,如用户注册会员时网站会给用户发送邮件;) &nbsp;&nbsp; 
	
	</td>
	</tr>
	
	<tr>
	<td  style="text-align:left;">
	<b>邮件服务器配置:</b>
	</td>
	</tr>	
	
	<tr>
	<td  style="text-align:left;">
		服务器地址:
		<input id="EmailSmtpServerAddress" name="EmailSmtpServerAddress" type="text" class="input" style="width:150px;"  value="<%=EmailSmtpServerAddress%>" />
		
	</td>	
	</tr>
	
	<tr>
	<td  style="text-align:left;">
		服务器端口:
		<input id="EmailSmtpServerPort" name="EmailSmtpServerPort" type="text" class="input" style="width:60px;"  value="<%=EmailSmtpServerPort%>" />
		
	</td>	
	</tr>
	


	<tr>
	<td  style="text-align:left;">
	<b>邮箱帐户配置:</b>
&nbsp;
	</td>
	</tr>

	
	
	<tr>
	<td  style="text-align:left;">
		
		　邮箱地址:
		<input id="EmailAddress" name="EmailAddress" type="text" class="input" style="width:200px;"  value="<%=EmailAddress%>" />
		( 形如:**@**.* );
	</td>	
	</tr>
	
	<tr>
	<td  style="text-align:left;">
		　邮箱别名:
		<input id="EmailNickName" name="EmailNickName" type="text" class="input" style="width:200px;"  value="<%=EmailNickName%>" /> 
		( 以区分于邮箱用户名,相当于"昵称" )
	</td>	
	</tr>
	
	<tr>
	<td  style="text-align:left;">
	
		邮箱用户名:
		<input id="EmailName" name="EmailName" type="text" class="input" style="width:200px;"  value="<%=EmailName%>" />
		( 不含 @**.** 的部分 )
	</td>	
	</tr>	
	
	
	<tr>
	<td  style="text-align:left;">
		　邮箱密码:
		<input id="EmailPass" name="EmailPass" type="text" class="input" style="width:200px;"  value="<%=EmailPass%>" />
	</td>	
	</tr>	
	
	
	<tr>
	<td  style="text-align:left;">
说明：服务器配置详情请查询您使用的邮箱服务商的帮助说明。<BR />
　　　例:QQ邮箱的服务器地址及端口分别为:smtp.qq.com,25

	</td>
	</tr>	
	


			
	
	</table>
	
	
</div>
</div>
	</form>	

	
</div>
<script>


	
</script>
