MailME.aspx
上传用户:shjujing
上传日期:2022-07-28
资源大小:11244k
文件大小:2k
源码类别:

Email客户端

开发平台:

Visual C++

  1. <%@ Page Language="C#" MasterPageFile="~/AppMaster.master" AutoEventWireup="true" CodeFile="MailME.aspx.cs" Inherits="MailME" Title="给管理员写信" ValidateRequest="false" %>
  2. <asp:Content ID="Content2" runat="server" ContentPlaceHolderID="phMain">
  3.     <div>
  4.       <p>
  5.         <span style="color: #0000ff"><strong>谢谢你联系我们,我们将在最短的时间内给你的答复<br />
  6.         </strong></span>
  7.       </p>
  8.       <p>收件人:<asp:TextBox ID="TextBox1" runat="server" ReadOnly="True">gdf87521@126.com</asp:TextBox></p>
  9.       <p>服务器:
  10.       <asp:DropDownList ID="DropDownList1" runat="server" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
  11.           <asp:ListItem Value="smtp.126.com"></asp:ListItem>
  12.           <asp:ListItem Value="smtp.163.com"></asp:ListItem>
  13.         </asp:DropDownList>
  14.       </p>
  15.       <p>发件人:<asp:TextBox ID="TextBox2" runat="server" Width="370px"></asp:TextBox>
  16.         <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox2"
  17.           ErrorMessage="*" Style="position: absolute"></asp:RequiredFieldValidator>
  18.       </p>
  19.       <p>密&nbsp;&nbsp;&nbsp;码:<asp:TextBox ID="TextBox4" runat="server" Width="370px" TextMode="Password"></asp:TextBox>
  20.         <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBox4"
  21.           ErrorMessage="*" Style="position: absolute"></asp:RequiredFieldValidator>
  22.       </p>
  23.       <p>标&nbsp;&nbsp;&nbsp;题:<asp:TextBox ID="TextBox3" runat="server" Width="370px"></asp:TextBox>
  24.         <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox3"
  25.           ErrorMessage="*" Style="position: absolute"></asp:RequiredFieldValidator>
  26.       </p>
  27.       <p Style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BACKGROUND: #fff repeat-x; PADDING-BOTTOM: 0px; MARGIN: 0px; FONT: 12px Verdana, Arial, sans-serif; COLOR: #666; PADDING-TOP: 0px">邮件的内容:<asp:TextBox ID="content" Style="display: none" runat="server" TextMode="MultiLine" Width="80%" />
  28.         <script language="JavaScript" type="text/javascript" src="editor/editor.js"></script>
  29.         <script language="javascript">createEditor('test','content','600px','300px');</script>
  30.         <span style="color: #ff3399">这种编辑工具还不完善,不能直接将Word文档Copy进去,否则出错!</span>
  31.       </p>
  32.       <asp:Button ID="Button1" runat="server" Text="发送" OnClick="Button1_Click" />
  33.     </div>
  34. </asp:Content>