global_emailconfig.aspx
上传用户:wenllgg125
上传日期:2020-04-09
资源大小:7277k
文件大小:3k
源码类别:

SCSI/ASPI

开发平台:

Others

  1. <%@ Register TagPrefix="cc1" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
  2. <%@ Page language="c#" Inherits="Discuz.Web.Admin.emailconfig" Codebehind="global_emailconfig.aspx.cs" %>
  3. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  4. <html>
  5. <head>
  6. <title>邮箱设置</title>
  7. <script type="text/javascript" src="../js/common.js"></script>
  8. <link href="../styles/dntmanager.css" type="text/css" rel="stylesheet" />  
  9. <meta http-equiv="X-UA-Compatible" content="IE=7" />
  10. </head>
  11. <body>
  12. <div class="ManagerForm">
  13. <form id="Form1" method="post" runat="server">
  14. <fieldset>
  15. <legend style="background:url(../images/icons/icon41.jpg) no-repeat 6px 50%;">SMTP配置</legend>
  16. <table width="100%">
  17. <tr><td class="item_title" colspan="2">SMTP服务器</td></tr>
  18. <tr>
  19. <td class="vtop rowform">
  20. <cc1:TextBox id="smtp" runat="server" RequiredFieldType="暂无校验" CanBeNull="必填" Width="200"></cc1:TextBox>
  21. </td>
  22. <td class="vtop">设置发送邮件的SMTP服务器地址</td>
  23. </tr>
  24. <tr><td class="item_title" colspan="2">系统邮箱名称</td></tr>
  25. <tr>
  26. <td class="vtop rowform">
  27. <cc1:TextBox id="sysemail" runat="server" RequiredFieldType="电子邮箱" CanBeNull="必填" Width="200"></cc1:TextBox>
  28. </td>
  29. <td class="vtop">设置发送邮件的邮箱地址</td>
  30. </tr>
  31. <tr><td class="item_title" colspan="2">系统邮箱密码</td></tr>
  32. <tr>
  33. <td class="vtop rowform">
  34. <cc1:TextBox id="password" textmode="password" runat="server" RequiredFieldType="暂无校验" CanBeNull="必填" Width="200"></cc1:TextBox>
  35. </td>
  36. <td class="vtop">设置邮箱的密码</td>
  37. </tr>
  38. <tr><td class="item_title" colspan="2">SMTP端口</td></tr>
  39. <tr>
  40. <td class="vtop rowform">
  41. <cc1:TextBox id="port" runat="server" RequiredFieldType="数据校验" CanBeNull="必填" size="7" maxlength="5"></cc1:TextBox>
  42. </td>
  43. <td class="vtop">设置SMTP服务器的端口</td>
  44. </tr>
  45. <tr><td class="item_title" colspan="2">用户名</td></tr>
  46. <tr>
  47. <td class="vtop rowform">
  48. <cc1:TextBox id="userName" runat="server" RequiredFieldType="暂无校验" CanBeNull="必填" Width="200"></cc1:TextBox>
  49. </td>
  50. <td class="vtop">设置邮箱的用户名</td>
  51. </tr>
  52. <tr><td class="item_title" colspan="2">发送邮件程序:</td></tr>
  53. <tr>
  54. <td class="vtop rowform">
  55. <cc1:dropdownlist id="smtpemail" runat="server" HintInfo="设置发送邮件的程序"></cc1:dropdownlist>
  56. </td>
  57. <td class="vtop">设置发送邮件的程序</td>
  58. </tr>
  59. </table>
  60. <div class="Navbutton">
  61. <cc1:Button id="SaveEmailInfo" runat="server" Text=" 提 交 "></cc1:Button>
  62. </div>
  63. </fieldset>
  64. <fieldset>
  65. <legend style="background:url(../images/icons/icon40.jpg) no-repeat 6px 50%;">测试邮件配置</legend>
  66. <table width="100%">
  67. <tr><td class="item_title" colspan="2">EMAIL:</td></tr>
  68. <tr>
  69. <td class="vtop rowform">
  70. <cc1:TextBox id="testEmail" runat="server" RequiredFieldType="电子邮箱" CanBeNull="可为空" Width="300"></cc1:TextBox></td>
  71. </td>
  72. <td class="vtop"><cc1:Button id="sendTestEmail" runat="server" Text=" 发送测试邮件 "></cc1:Button>设置要测试的邮箱地址,测试程序将发送一封邮件到测试邮箱中</td>
  73. </tr>
  74. </table>
  75. </fieldset>
  76. <cc1:Hint ID="Hint1" runat="server" HintImageUrl="../images"></cc1:Hint>
  77. </form>
  78. </div>
  79. <% =footer %>
  80. </body>
  81. </html>