如何用ASP发送带附件的邮件?
- 技术交流
- 2024-10-01 10:22:02
如何用ASP发送带附件的邮件?
<%
Option Explicit
Dim objMail
Set objMail = Server.CreateObject("CDONTS.NewMail")
objMail.From = "liyanbing@163.net "
objMail.Subject = "闪亮日子之星河影动"
objMail.AttachFile("s:flashdaysimageswin.jpg")
objMail.To = "wuxiaotao@263.net"
objMail.body = "我们一定要解放台湾!"
objMail.Send
Response.write("Mail was Sent")
set objMail = nothing
%>
[1]
如何用ASP发送带附件的邮件?由讯客互联技术交流栏目发布,感谢您对讯客互联的认可,以及对我们原创作品以及文章的青睐,非常欢迎各位朋友分享到个人网站或者朋友圈,但转载请说明文章出处“如何用ASP发送带附件的邮件?”