如何发送?
    这样发:
陈坤和赵薇<%@ Page Language="VB"ClientTarget="downlevel"%>
<%@ Import Namespace="System.Web.Util"%>

<script language="VB"runat="server">
   Sub btnSendMail_OnClick(Source As Object, E As EventArgs)
      Dim myMessage As New MailMessage
      Dim myMail  As New SmtpMail
      Dim strEmail As String

      If Page.IsValid() Then
         strEmail = txtEmail.Text

手机qq聊天背景图片         myMessage.From ="song@"&Request.ServerVariables("SERVER_NAME")
         myMessage.To = strEmail
         myMessage.Subject ="随风起舞!"
和颂关注杨幂职黑         myMessage.Body = "我闻到"&_
"青春海岸吹来的清凉的气息"&_
"我听到"&_
"人生战场"&_
"高亢激越的号角又在吹响"&_
"我看到"&_
"高圆圆电视剧欢乐的人们与我随风起舞"&_
            "本信件来自"&Request.ServerVariables("SERVER_NAME")&". "&_
            "发送给"&strEmail&"."


         myMail.Send(myMessage)

         divFormSection.Visible = False
         lblUserMessage.Text ="恭喜,您的邮件已经成功发送给"&strEmail&"!"
      End If
   End Sub
</script>

<html>
<head>
<title>精彩春风之ASP.NET邮件发送</title>
</head>
<body>
跑的笔顺
<asp:Label id="lblUserMessage"text="您的地址:"runat="server"/>
<asp:Panel id="divFormSection"runat="server">

<form method="post"runat="server">
   <asp:TextBox id="txtEmail"size="30"runat="server"/>
   <asp:RequiredFieldValidator runat="server"
      id="validEmailRequired"ControlToValidate="txtEmail"
      errormessage="输入地址."
      display="Dynamic"/>
   <asp:RegularExpressionValidator runat="server"
      id="validEmailRegExp"ControlToValidate="txtEmail"
      ValidationExpression="^[\w-]+@[\w-]+\.(com|net|org|edu|mil)$"
      errormessage="对不起,您输入的邮件地址格式无效错误,请重新输入."
      Display="Dynamic"/>
   <br />


   <asp:Button id="btnSendMail"text="发送陈志朋张国荣"OnClick="btnSendMail_OnClick"runat="server"/>
</form>

</asp:Panel>

</body>
</html>