Jmail邮件发送简单示例

 set msg = server.createobject("jmail.message")

 msg.logging = true
 msg.charset = "gb2312"
 msg.from = "webmaster@w3cnet.com"
 msg.fromname = "标准网络"

 msg.addrecipient "w3cnet@qq.com"

 msg.subject = "会员验证"
 msg.htmlbody = "<span style=’color:red;'>LED</span>"
 'msg.body = "this is html content"
 msg.addattachment("D:\ximancolor\Jmail\baidu.gif")
 msg.send("127.0.0.1")