三度网教程:是一个免费提供流行视频软件教程、在线学习分享的学习平台!

用ASP发 WAP MAIL(=)

时间:2022-7-19作者:未知来源:三度网教程人气:


mail.asp
<%
Response.Buffer = True
Response.ContentType = "text/vnd.wap.wml"
Response.Write "<?xml version=""1.0
%>
    <%
    Set Mail = Server.CreateObject("Persits.MailSender")
  '---------------------------------------------------------
  ' 你可以修改ISP的邮件服务器 '
    Mail.Host = "pun.chaozhou.gd.cn"                         '
  '---------------------------------------------------------
    Mail.From = Request.Form("From")
    Mail.FromName = Request.Form("From")
    Mail.AddAddress Request.Form("To"), Request.Form("To")
    Mail.Subject = Request.Form ("Subject")
    Mail.Body = Request.Form("Body") + vbCrLf + vbCrLf + _
                "_________________________________________________" + vbCrLf + _
                " Message sent via Manas' WAPMail "  + vbCrLf + _
                " http://www.e8899.com/"

    On Error Resume Next
    Mail.Send
    Dim Report
If Err <> 0 Then
Report = "Error: " & Err.Description
Else
Report = "Message sent to " & Request.Form("To")
End If
    %>
<wml>
  <card title="e8899.com's WAP Mail">
    <p>
      <%= Report %>
      <br/>
      <br/>
      <a href="default.asp#Send">发另一封</a>
    </p>
    <p>
      <small><a href="http://www.e8899.com">e8899.com</a></small>
    </p>
  </card>
</wml>   

关键词:  用ASP发  WAP  MAIL(=)





Copyright © 2012-2018 三度网教程(http://www.3du8.cn) .All Rights Reserved 网站地图 友情链接

免责声明:本站资源均来自互联网收集 如有侵犯到您利益的地方请及时联系管理删除,敬请见谅!

QQ:1006262270   邮箱:kfyvi376850063@126.com   手机版