<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="manageSMTP.aspx.cs" Inherits="WebApp.Wpdcc.manageSMTP" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>manageSMTP</title>
    <meta name="description" content="SMTP" />
	
    <!--#include file = "../assets/head.htm" -->
</head>
<body>
    <form id="form1" runat="server" class="form-horizontal">
    <div class="main-content-inner">
			<!-- #section:basics/content.breadcrumbs -->
			<div class="breadcrumbs" id="breadcrumbs">
				<script type="text/javascript">
					try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
				</script>

				<ul class="breadcrumb">
					<li>
						<i class="ace-icon fa fa-home home-icon"></i>
						主页
					</li>
					<li>站群基本信息</li>
					<li class="active">参数配置</li>
				</ul><!-- /.breadcrumb -->
				
				<!-- /section:basics/content.searchbox -->
			</div>

			<!-- /section:basics/content.breadcrumbs -->
			
            <div class="page-content">

				<!-- /section:settings.box -->

				<!-- PAGE CONTENT BEGINS -->
				<div class="row">
				
				<div class="col-xs-12">
				
				<!-- #section:elements.tab -->
				<div class="tabbable">
				<ul class="nav nav-tabs">
						<li class="">
							<a href="manageunitinfo.aspx" target="_self">
								<i class="green ace-icon fa fa-home bigger-120"></i>
								站群基本信息
							</a>
						</li>

						<li class="">
							<a href="manageBasic.aspx" target="_self">
								站群系统参数
							</a>
						</li>
						
						<li class="">
							<a href="manageSSO.aspx" target="_self">
								单点登录配置
							</a>
						</li>
						
						<li class="active">
							<a href="#manageSMTP">
								电子邮箱参数
							</a>
						</li>
					</ul>
					
					<div class="tab-content">
					<div class="tab-pane fade active in">
					                    <!-- #section:elements.form -->
									    <div class="form-group">
										    <label class="col-sm-3 control-label no-padding-right" for="txtSmtpHost">SMTP服务器地址</label>

										    <div class="col-sm-9">
										        <asp:TextBox ID="txtSmtpHost" runat="server" class="col-xs-10 col-sm-5" notNull="true" msgName="SMTP服务器地址" ></asp:TextBox>
                                                
										    </div>
									    </div>
										<div class="form-group">
										    <label class="col-sm-3 control-label no-padding-right" for="txtMailName">SMTP服务器身份认证账号</label>

										    <div class="col-sm-9">
										        <asp:TextBox ID="txtMailName" runat="server" class="col-xs-10 col-sm-5" notNull="true" msgName="SMTP服务器身份认证账号" ></asp:TextBox>
                                                
										    </div>
									    </div>
									    <div class="form-group">
										    <label class="col-sm-3 control-label no-padding-right" for="txtMailPwd">SMTP服务器身份认证密码</label>

										    <div class="col-sm-9">
										        <asp:TextBox ID="txtMailPwd" runat="server" class="col-xs-10 col-sm-5" notNull="true" msgName="SMTP服务器身份认证密码" ></asp:TextBox>
                                                
										    </div>
									    </div>
									    <div class="form-group">
										    <label class="col-sm-3 control-label no-padding-right" for="txtMailAddress">发信人邮件地址</label>

										    <div class="col-sm-9">
										        <asp:TextBox ID="txtMailAddress" runat="server" class="col-xs-10 col-sm-5" notNull="true" msgName="发信人邮件地址" ></asp:TextBox>
                                                
										    </div>
									    </div>
									    <div class="form-group">
										    <label class="col-sm-3 control-label no-padding-right" for="txtMailFrom">发信人显示的名称</label>

										    <div class="col-sm-9">
										        <asp:TextBox ID="txtMailFrom" runat="server" class="col-xs-10 col-sm-5" notNull="true" msgName="发信人显示的名称" ></asp:TextBox>
                                                
										    </div>
									    </div>
									    <div class="clearfix">
										    <div class="col-md-offset-3 col-md-2">
										    
										        <asp:Button ID="btnSave" class="btn btn-sm btn-primary" runat="server" Text="保存" OnClientClick="return checkall()" OnClick="btn_Click">
                                                </asp:Button>
                                                &nbsp;
                                                <asp:Button ID="btnReset" class="btn btn-sm btn-primary" runat="server" Text="重载" OnClick="btn_Click">
                                                </asp:Button>
                                                
                                            </div>
                                            <div id="showMessage" ></div>
									    </div>
						</div>
                </div>
				
				</div>

				<!-- /section:elements.tab -->
			    </div>
			
			    </div>
		        <!-- PAGE CONTENT ENDS -->
            </div>
    </div>
	
    </form>
    <!--#include file = "../assets/foot.htm" -->
    <script type="text/javascript">
        function checkall() {
            //验证
            if (checkAllValidate()) {
                return true;
            } else {
                return false;
            }
        }

        function showMessage(i) {
            $('#showMessage').html("<div class=\"alert alert-block alert-success col-sm-2\"><button type=\"button\" class=\"close\" data-dismiss=\"alert\"><i class=\"ace-icon fa fa-times\"></i></button><i class=\"ace-icon fa fa-check green\"></i>保存成功</div>");

        }
    </script>
    <!--邮箱使用范围：1、申请创建站点时。2、站点创建审核通过时。3、网站相关信息已修改时。4、网站空间超出分配大小。5、您所提交的申请信息有误，未能通过审核。-->
</body>
</html>
