白云岛资源网 Design By www.pvray.com

如何用ASP发送带附件的邮件?

<%

Option Explicit

Dim objMail

 Set objMail = Server.CreateObject("CDONTS.NewMail")

 objMail.From = "liyanbing@163.net "

 objMail.Subject = "闪亮日子之星河影动"

 objMail.AttachFile("s:\flashdays\images\win.jpg")

 objMail.To = "wuxiaotao@263.net"

 objMail.body = "我们一定要解放台湾!"

 objMail.Send

 Response.write("Mail was Sent") 

set objMail = nothing

%>

 

 

[1]

白云岛资源网 Design By www.pvray.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
白云岛资源网 Design By www.pvray.com