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


<div id=sm>
配置邮件以便在预定时发送邮件通知相关人员
</div>

   


  <table   cellspacing="1" cellpadding="2"  border="0">
  <tbody>
    <tr>
      <th class="bg_tr" align="left" colspan="2" height="25">Email配置
      </th>
    </tr>
    
    
     
    
    
    
    
    <tr>
      <td  colspan="2" class="td_bg">
        请配置邮件服务器。
      </td>
    </tr>
    
    
    
    <tr>
      <td  colspan="2" class="td_bg">
      <asp:CheckBox ID="cb_issendmail" runat="server" Text="在用户预定会议室时，启用邮件通知"   Font-Bold="true"  />
      </td>
    </tr>
    
    
    
    <tr>
      <td class="td_bg" width="300px" height="23">用户名
          <asp:TextBox ID="txt_username" runat="server"></asp:TextBox>
      </td>
      <td class="td_bg"  width="300px" >密码：
          <asp:TextBox ID="txt_pwd" runat="server"></asp:TextBox>
      </td>
    </tr>
    
    
    
     <tr>
      <td class="td_bg" width="50%" height="23">SMTP：
          <asp:TextBox ID="txt_smtp" runat="server"></asp:TextBox>
      </td>
      <td class="td_bg" width="50%">发件人地址：
          <asp:TextBox ID="txt_mail" runat="server"></asp:TextBox>
      </td>
    </tr>
    
    
     <tr>
      <td class="td_bg" width="50%" height="23">收件人显示名称：
          <asp:TextBox ID="txt_friendlyname" runat="server"></asp:TextBox>
      </td>
      <td></td>
     </tr>
    
    </table>
    
    
<div style=" border-bottom:dotted 1px #888888; width:600px;"></div>
    测试收件人地址：<asp:TextBox ID="txt_testemail" runat="server"></asp:TextBox>
  <table   cellspacing="1" cellpadding="2"  border="0">
      

<tr >
 <td   colspan="2"   align="center"> 
 <br /> 
     <asp:Button ID="Button1" runat="server" Text="保存"   class="btn"
         onclick="Button1_Click"  />
      
          <asp:Button ID="Button2" runat="server" Text="测试"   class="btn" 
         onclick="Button2_Click"/>
          
      </td>
    </tr>


</table>


</asp:Content>
