<%@ 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="ContentPlaceHolder1" runat="server">



 
   <div class="alert">
   说明: 配置SMTP用于发送邮件
            
     </div>

 
    
  <table class="layui-table table2">
  <tbody> 
    
     
    
    <tr>
      <td  colspan="4"  >
          <input type="checkbox" runat="server" class="gchk" id="cb_issendmail"  lay-skin="primary" title="启用邮件通知功能" />
       </td>
    </tr>
    
    
      
    
    
    
    <tr>
     <th  class="req" >用户名</th>
      <td > 
          <asp:TextBox ID="txt_username"  CssClass="layui-input" runat="server"></asp:TextBox>
      </td>
       <th  class="req"  >密码</th>
      <td     >  
          <asp:TextBox ID="txt_pwd"    CssClass="layui-input" runat="server"></asp:TextBox>
      </td>
    </tr>




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



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

     <tr>
      <th >测试收件人地址</th>
      <td  colspan="3"  >

          <div class="flex">

     
        <asp:TextBox ID="txt_testemail" CssClass="layui-input" runat="server"></asp:TextBox>

           <asp:Button ID="test" runat="server" Text="测试"   class="layui-btn layui-btn-normal" 
         onclick="test_Click"/>

                   </div>

      </td>
    </tr>

    
     <tr>
      <th  > </th>
      <td  colspan="3"  >
        <asp:Button ID="save" runat="server" Text="保存"   class="layui-btn "
         onclick="save_Click"  />
      
         


          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


          <asp:LinkButton runat="server" ID="lb_switch" CssClass="mylink"
               OnClientClick="layer.msg('切换成功');"
               OnClick="lb_switch_Click">切换到"使用Exchange发送邮件"</asp:LinkButton>
       
      </td>
    </tr>
       
   
    </tbody>
    </table>
    
       
     
 

     

     


</asp:Content>
