1 <h2>
2 发送电子邮件演示
3 </h2>
4 <table cellpadding="0" cellspacing="0" border="0" style="font-family: 宋体, Arial, Helvetica, sans-serif;
5 font-size: 15px; width: 411px;">
6 <tr>
7 <td class="style5">
8 邮箱地址:
9 </td>
10 <td class="style6">
11 <asp:TextBox ID="tb_Email" runat="server" Width="269px"></asp:TextBox>
12 </td>
13 </tr>
14 <tr>
15 <td class="style5">
16 抄送至:
17 </td>
18 <td class="style6">
19 <asp:TextBox ID="tb_cc" runat="server" Width="268px"></asp:TextBox>
20 </td>
21 </tr>
22 <tr>
23 <td class="style5">
24 邮件主题:
25 </td>
26 <td class="style6">
27 <asp:TextBox ID="tb_Subject" runat="server" Width="268px"></asp:TextBox>
28 </td>
29 </tr>
30 <tr>
31 <td class="style5">
32 邮件内容:
33 </td>
34 <td class="style6">
35 <asp:TextBox ID="tb_Body" runat="server" Height="63px" TextMode="MultiLine" Width="266px"></asp:TextBox>
36 </td>
37 </tr>
38 <tr>
39 <td class="style5">
40 添加附件:
41 </td>
42 <td class="style6">
43 <asp:FileUpload ID="tb_Attachment" runat="server" Width="265px" />
44 </td>
45 </tr>
46 <tr>
47 <td align="right" colspan="2">
48 <asp:Button ID="btn_SendEmail" runat="server" Text="发送邮件" OnClick="btn_SendEmail_Click" />
49 </td>
50 </tr>
51 </table>
请发表评论