以在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