<%
Set msg = Server.CreateObject("JMail.Message")
msg.silent = true
msg.Logging = true
msg.Charset = "gb2312"
msg.MailServerUserName = "..." 输入smtp服务器验证登陆名
msg.MailServerPassword = "..." 输入smtp服务器验证密码
msg.From = "...@..." 发件人
msg.FromName = FromName
msg.AddRecipient "...@...","...@..." 收件人
msg.Subject = "test" 主题
msg.Body = "this is body!" 正文
msg.Send ("smtp Server Name") smtp服务器地址
set msg = nothing
%>
上一篇:本站虚拟主机PHP禁用的函数?
下一篇:如何连接ACCESS数据库?
本文标题:如何使用Jmail发送邮件?
本文地址:https://www.128sj.com/jiaocheng/201811102161.html,转载请注明出处