欢迎光临
我们一直在努力

用ASP发送HTML格式的邮件

建站超值云服务器,限时71元/月

<%

dim objmail

set objmail = createobject("cdonts.newmail")

objmail.to = "bhumphre@confederationc.on.ca"

objmail.from = "whoeveryouwant@whereever.com" 在这里可以选择你要发送去那里的地址

objmail.subject = "html email!"

objmail.mailformat = cdomailformatmime

objmail.bodyformat = cdobodyformathtml

objmail.body = "<html><body><p align=center><b>hey there!</b></p><p align=center><b>this is a html doc

in your email!!!!</b></p><p align=center>&nbsp;</p><p align=center>&nbsp;</p><p

align=center><i><u>we kick the llamas ass!!!!</u></i></p></body></html>"

objmail.send

set objmail = nothing

%>

赞(0)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » 用ASP发送HTML格式的邮件
分享到: 更多 (0)