关于JMAIL如何在收件人处指定多个收件人
2001-09-29 10:22:50 来源:WEB开发网核心提示:以在asp程序中指定,提交到jmail处理的时候就可发到多个收信人信箱,关于JMAIL如何在收件人处指定多个收件人,如下:JMail.AddRecipient "somebody1@somewhere.com"JMail.AddRecipient "somebody2@somewhere.
以在asp程序中指定,提交到jmail处理的时候
就可发到多个收信人信箱。
如下:
JMail.AddRecipient "somebody1@somewhere.com"
JMail.AddRecipient "somebody2@somewhere.com"
JMail.AddRecipient "somebody3@somewhere.com"
据我所知,应该不行,你可以用一个循环来设置嘛!
aryEmail = split("aa@bb.com;adf@sfda.net;dsfafdsa@china.com", ";")
for i=0 to UBound(aryEmail)
JMail.AddRecipient Trim(aryEmail(i))
next
就可发到多个收信人信箱。
如下:
JMail.AddRecipient "somebody1@somewhere.com"
JMail.AddRecipient "somebody2@somewhere.com"
JMail.AddRecipient "somebody3@somewhere.com"
据我所知,应该不行,你可以用一个循环来设置嘛!
aryEmail = split("aa@bb.com;adf@sfda.net;dsfafdsa@china.com", ";")
for i=0 to UBound(aryEmail)
JMail.AddRecipient Trim(aryEmail(i))
next
更多精彩
赞助商链接