<%@ 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="result-wrap">


   <div class="result-title">
             <span class="span_help">说明</span>:
            系统默认使用SMTP发送邮件。对于使用微软Exchange用户，如果禁用了SMTP，
  可以联系我们使用<a href="http://msdn.microsoft.com/en-us/library/office/dd877045(v=exchg.140).aspx" target=_blank>EWS</a>发送邮件。


     </div>

   

   
   <div class="result-list">


  <table class="table table-hover">
  <tbody> 
    <tr>
      <td  colspan="4"  >
        配置邮件服务器以便用户提交时，通知相关人员。
      </td>
    </tr>
    
    
    
    <tr>
      <td  colspan="4" class="td_bg">
      <asp:CheckBox ID="cb_issendmail" runat="server" Text="在用户提交申请时，启用邮件通知"   Font-Bold="true"  />
      </td>
    </tr>
    
    
    
    <tr>
     <th width="180">用户名</th>
      <td > 
          <asp:TextBox ID="txt_username" Width="300px" class="form-control" runat="server"></asp:TextBox>
      </td>
       <th width="120">密码</th>
      <td     >  
          <asp:TextBox ID="txt_pwd"   class="form-control" runat="server"></asp:TextBox>
      </td>
    </tr>




    
    <tr>
     <th >SMTP</th>
      <td > 
          <asp:TextBox ID="txt_smtp" Width="300px" class="form-control" runat="server"></asp:TextBox>
      </td>
       <th >发件人地址</th>
      <td    > 
          <asp:TextBox ID="txt_mail" class="form-control"  runat="server"></asp:TextBox>
      </td>
    </tr>



    
    <tr>
     <th  >收件人显示名称</th>
      <td > 
          <asp:TextBox ID="txt_friendlyname"  Width="300px" class="form-control" runat="server"></asp:TextBox>
      </td>
       <th >端口</th>
      <td     > 
          <asp:TextBox ID="txt_port"   class="form-control" runat="server"></asp:TextBox>
      </td>
    </tr>


     <tr>
      <th >测试收件人地址</th>
      <td  colspan="3"  >
        <asp:TextBox ID="txt_testemail" class="form-control" Width="300px" runat="server"></asp:TextBox>
      </td>
    </tr>

    
     <tr>
      <th width="120"> </th>
      <td  colspan="3"  >
        <asp:Button ID="save" runat="server" Text="保存"   class="btn btn-primary"
         onclick="save_Click"  />
      
          <asp:Button ID="test" runat="server" Text="测试"   class="btn btn-success" 
         onclick="test_Click"/>
      </td>
    </tr>


     <tr>
   
      <td  colspan="4"  >
          </td>
    </tr>

    </tbody>
    </table>
    
       
     




</div>
</div>

</asp:Content>
