一聚教程网:一个值得你收藏的教程网站

热门教程

Jmail发信实例,可直接调用

时间:2022-06-30 11:33:54 编辑:袖梨 来源:一聚教程网



<%
'调用说明:
strHTML = "" &chr(13) &chr(10) '这里需要加上两个"
strHTML = strHTML & " " &chr(13) &chr(10) 'chr(13)硬回车chr(10)软回车
strHTML = strHTML & "" &chr(13) &chr(10)
strHTML = strHTML & "" &chr(13) &chr(10)
strHTML = strHTML & "
HELLO~!
"
smtpserver="mail.sh163.net:25"
sender="[email protected]"
subject="HEY!"
msg="
" & strHTML & "
"
mailto=email'收信人email
call SendMail(SMTPServer,sender,mailto,subject,msg)'调用函数
%>

热门栏目