如何用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]
本文章来源于网络,作者是:,由代码部落进行采编,如涉及侵权请联系删除!转载请注明出处:https://daimabuluo.cc/biancheng10000wen/1066.html