<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="Config_Email_EWS.aspx.cs" Inherits="helpdesk.Admin.Config_Email_EWS" %>
<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_ews_username"  class="layui-input" runat="server"></asp:TextBox>
      </td>
       <th width="150" class="req">密码</th>
      <td   width="250px"  >  
          <asp:TextBox ID="txt_ews_password"   class="layui-input" runat="server"></asp:TextBox>
      </td>
    </tr>




    
    <tr>
     <th class="req">域:</th>
      <td > 
          <asp:TextBox ID="txt_ews_domain"  class="layui-input"  runat="server"></asp:TextBox>
      </td>
       <th class="req" >发件人邮件</th>
      <td    > 
          <asp:TextBox ID="txt_ews_mail"   class="layui-input"  runat="server"></asp:TextBox>
      </td>
    </tr>



    
    <tr>
     <th  class="req" >组织者（可选）</th>
      <td > 
          <asp:TextBox ID="txt_organizer"   class="layui-input"   runat="server"></asp:TextBox>
      </td>
       <th  class="req" >  Exchange版本</th>
      <td > 
         
           <asp:DropDownList runat="server" ID="ddl_ews_exchangeversion" CssClass="form-control" Width="300px">
                       <asp:ListItem Text="默认版本" Value=""></asp:ListItem>
                       <asp:ListItem Text="Exchange2007_SP1" Value="Exchange2007_SP1"></asp:ListItem>
                       <asp:ListItem Text="Exchange2010" Value="Exchange2010"></asp:ListItem>
                       <asp:ListItem Text="Exchange2010_SP1" Value="Exchange2010_SP1"></asp:ListItem>
                       <asp:ListItem Text="Exchange2010_SP2" Value="Exchange2010_SP2"></asp:ListItem>
                       <asp:ListItem Text="Exchange2013" Value="Exchange2013"></asp:ListItem>
                       <asp:ListItem Text="Exchange2013_SP1" Value="Exchange2013_SP1"></asp:ListItem>

                   </asp:DropDownList>

      </td>
    </tr>

      <tr>
          <th>
             Exchange接口
          </th>
          <td colspan="3">
           
              <asp:TextBox ID="txt_ews_exchangewebservice"    class="layui-input" runat="server"></asp:TextBox>

          </td>
         
      </tr>

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

         <td>

         </td>

            <td>

         </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.aspx">切换到"使用SMTP发送邮件"</a> 
 
      </td>
    </tr>


    

    </tbody>
    </table>

</div>


                
                    </ContentTemplate>
                </asp:UpdatePanel>




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

    
       



















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














</asp:Content>
