摘要:
sub SendMail(Receiver, CC, Sender, UserName, Password, Subject, Content, MailServer)
Set jmail = Server.CreateObject("JMAIL.Message") '建立发送邮件的对象
jmail.silent = true '屏蔽例外错误,返回FALSE跟TRUE两值j
mail.logging = true '启用邮件日志
jmail.Charset = "GB2312" '邮件的文字编码为国标
jmail.ContentType = "text/html" '邮件的格式为HTML格式
jmail.AddRecipient Receiver '邮件收件人的地址
jmail.AddRecipientCC CC '邮件抄送者的地址
jmail.From = Sender '发件人的E-MAIL地址
jmail.Ma 阅读全文
posted @ 2007-04-18 02:11 allonkwok 阅读(287) 评论(0) 推荐(0) 编辑