<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="Config_Email.aspx.cs" Inherits="helpdesk.Admin.Config_Email" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">


              <div class="layui-fluid">
         <div class="layui-row layui-col-space15">
    
            <div class="layui-card">
               
                <asp:UpdatePanel runat="server" ID="up">
                    <ContentTemplate>


                
                     <div class="layui-card-body">
                      
                       <div class=" layui-form-item">
                    
                           <label class="layui-form-label"> 启用通知 </label>
                           <div class="layui-inline">
                                


                              <input runat="server"  type="checkbox"   title="在用户提交申请时，启用邮件通知" id="cb_issendmail" lay-skin="primary" />


                               
                           </div>

                  
                       </div>

                     </div>


                      <div class="layui-card-body">

                       <table class="layui-table">
  <tbody> 
 
       
    <tr>
     <th width="150" class="req">用户名</th>
      <td width="250px" > 
          <asp:TextBox ID="txt_username"  class="layui-input" runat="server"></asp:TextBox>
      </td>
       <th width="150" class="req">密码</th>
      <td   width="250px"  >  
          <asp:TextBox ID="txt_pwd"   class="layui-input" runat="server"></asp:TextBox>
      </td>
    </tr>




    
    <tr>
     <th class="req">SMTP</th>
      <td > 
          <asp:TextBox ID="txt_smtp"  class="layui-input"  runat="server"></asp:TextBox>
      </td>
       <th class="req" >发件人地址</th>
      <td    > 
          <asp:TextBox ID="txt_mail"   class="layui-input"  runat="server"></asp:TextBox>
      </td>
    </tr>



    
    <tr>
     <th  class="req" >收件人显示名称</th>
      <td > 
          <asp:TextBox ID="txt_friendlyname"   class="layui-input"   runat="server"></asp:TextBox>
      </td>
       <th  class="req" >端口</th>
      <td > 
          <asp:TextBox ID="txt_port"   class="layui-input" runat="server"></asp:TextBox>
      </td>
    </tr>

      <tr>
          <th>
              使用安全协议SSL
          </th>
          <td>
              <input type="checkbox" ID="cb_isssl"   lay-skin="primary" runat="server" /> 

          </td>
          <th>
              组织者(可选)
          </th>
          <td>
                <asp:TextBox ID="txt_organizer"     class="layui-input" runat="server"></asp:TextBox>
              
          </td>
      </tr>

     <tr>
      <th >测试收件人地址</th>
      <td  colspan="3"  >
        <asp:TextBox ID="txt_testemail"    class="layui-input" runat="server"></asp:TextBox>
      </td>
    </tr>

    
     <tr>
  
      <td  colspan="4" align="center"  >
        <asp:Button ID="save" runat="server" Text="保存"   class=" layui-btn"
         onclick="save_Click"  />
      
          <asp:Button ID="test" runat="server" Text="测试"   class=" layui-btn layui-btn-normal" 
         onclick="test_Click"/>


          <a href="Config_Email_EWS.aspx">切换到"使用Exchange发送邮件"</a>
      </td>
    </tr>


    

    </tbody>
    </table>

</div>


                
                    </ContentTemplate>
                </asp:UpdatePanel>




</div>
</div>
</div>

    
       



















              
      <script src="../layuiadmin/layui/layui.all.js"></script> 

     

    </asp:Content>
