<%@ Page Language="C#" ValidateRequest="false" AutoEventWireup="true" CodeBehind="YC_Email_Config.aspx.cs"
    Inherits="YCHR.Web.admin.Sys.YC_Email_Config" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>系统参数设置</title>
    <link rel="stylesheet" href="../images/style.css" type="text/css" />
    <script type="text/javascript" src="../js/jquery.js"></script>
    <script type="text/javascript" src="../js/jquery.validate.min.js"></script>
    <script type="text/javascript" src="../js/messages_cn.js"></script>
    <script type="text/javascript" src="../js/cursorfocus.js"></script>
    <script type="text/javascript">
        $(function () {
            //表单验证JS
            $("#form1").validate({
                //出错时添加的标签
                errorElement: "span",
                success: function (label) {
                    //正确时的样式
                    label.text(" ").addClass("success");
                }
            });
        });
    </script>
    <style type="text/css">
        .checkbox
        {
            height: 14px;
        }
        .radio, .checkbox
        {
            border: none;
            background: none;
            vertical-align: middle;
        }
    </style>
</head>
<body style="padding: 10px;">
    <form id="form1" runat="server">
    <div class="navigation">
        <b>您当前的位置：首页 &gt; 系统管理 &gt; 系统参数设置</b></div>
    <div style="padding-bottom: 10px;">
    </div>
    <table width="100%" border="0" align="center" cellpadding="2" cellspacing="1">
        <tr>
            <td height="25" class="pl20">
                <b>管理选项： <a href="YC_Email_Config.aspx">邮箱参数设置</a> [<a
                    href="javascript:location.reload()">刷新页面</a>]
            </td>
        </tr>
    </table>
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
        <tbody>
            <tr>
                <th colspan="2" align="left">
                    邮箱参数设置（注意：如果你不是专业人员请勿改动，只有开放文件的读写权限才能修改）
                </th>
            </tr>
            <tr>
                <td align="right">
                    SMTP服务器地址：
                </td>
                <td>
                    <asp:TextBox ID="smtpserver" runat="server" CssClass="input required" size="25" MaxLength="50"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    SMTP服务器端口号：
                </td>
                <td>
                    <asp:TextBox ID="smtpport" runat="server" CssClass="input required" size="25" MaxLength="50"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    发件人邮箱地址：
                </td>
                <td>
                    <asp:TextBox ID="txtSender" runat="server" CssClass="input" size="25" MaxLength="50"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    发件人姓名：
                </td>
                <td>
                    <asp:TextBox ID="txtsendname" runat="server" CssClass="input" size="25" MaxLength="50"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    SMTP认证用户名：
                </td>
                <td>
                    <asp:TextBox ID="txtsmtpuser" runat="server" CssClass="input" size="25" MaxLength="25"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    发件人邮箱密码：<br />
                </td>
                <td>
                    <asp:TextBox ID="txtpassword" runat="server" CssClass="input" size="25" MaxLength="50"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    找回密码的邮件内容：
                </td>
                <td>
                    <asp:TextBox ID="txtfindpassemail" runat="server" CssClass="input" size="25" TextMode="MultiLine"
                        MaxLength="300" Height="255px" Width="400px"></asp:TextBox>
                </td>
            </tr>
        </tbody>
    </table>
    <div class="spClear">
    </div>
    <div style="margin-top: 10px; text-align: center;">
        <asp:Button ID="btnSave" runat="server" Text="确认保存" CssClass="submit" OnClick="btnSave_Click" />
        &nbsp;
        <input name="重置" type="reset" class="submit" value="重置" />
    </div>
    </form>
</body>
</html>
