<!-- #include file="../../themes/admin/~css.php" -->
<form action="<?=url(RPGM.'email/?ajax')?>" method="post" id="form" onsubmit="return yun_submit(this.id)">
<h3 class="title">Email配置</h3>
<div class="in">

<div class="fieldwrapper">
	<label for="" class="styled">网站域名</label>
	<div class="thefield">
    <input name="sys_host" type="text" id="sys_host"  value="<?=htmlspecialchars($conf['sys_host'])?>"/><br />
<span style="color:#F00">*</span> 不加http://
    </div>
</div>
<div class="fieldwrapper">
	<label for="" class="styled">SMTP 邮件服务器</label>
	<div class="thefield">
    <input name="sys_mail_host" type="text" id="sys_host"  value="<?=htmlspecialchars($conf['sys_mail_host'])?>"/>
    </div>
</div>
<div class="fieldwrapper">
	<label for="" class="styled">SMTP 端口号</label>
	<div class="thefield">
    <input name="sys_mail_port" type="text" id="sys_host"  value="<?=htmlspecialchars($conf['sys_mail_port'])?>"/>
    </div>
</div>
<div class="fieldwrapper">
	<label for="" class="styled">SMTP 用户名</label>
	<div class="thefield">
    <input name="sys_mail_username" type="text" id="sys_host"  value="<?=htmlspecialchars($conf['sys_mail_username'])?>"/>
    </div>
</div>
<div class="fieldwrapper">
	<label for="" class="styled">SMTP 用户密码</label>
	<div class="thefield">
  <input name="sys_mail_password" type="text" id="sys_host"  value="<?=htmlspecialchars($conf['sys_mail_password'])?>"/>   
    </div>
</div>
<div class="fieldwrapper">
	<label for="" class="styled">SMTP 发件人邮箱</label>
	<div class="thefield">
    <input name="sys_mail_from" type="text" id="sys_host"  value="<?=htmlspecialchars($conf['sys_mail_from'])?>"/>
    </div>
</div>
<div class="fieldwrapper">
	<label for="" class="styled">SMTP 发件人名称</label>
	<div class="thefield">
    <input name="sys_mail_fromname" type="text" id="sys_host"  value="<?=htmlspecialchars($conf['sys_mail_fromname'])?>"/>
    </div>
</div>

<div class="buttonsdiv" >
	<input value="提交" type="submit" class="button"> 
    <input value="重置" type="reset" class="button">
</div>

</div>             
</form>
    <script type="text/javascript">
	yun_onfocus("sys_webname");

</script>
