Jmail发信实例,可直接调用

作者:袖梨 2022-06-30


<%
'调用说明:
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)'调用函数
%>

相关文章

精彩推荐