简体   繁体   中英

Forwarding Outlook Emails to Multiple Recipients

How do I add multiple email addresses to the myForward.Recipients.Add bit? I've tried adding them like that "test@test.com; test1@test.com; test2@test.com",

But only the first one receives the message.

Sub ChangeSubjectForward(Item As Outlook.MailItem)
    Item.Subject = "Test"
 Item.Save

Set myForward = Item.Forward
myForward.Recipients.Add "test@test.com"

myForward.Send

End Sub

Or set the Mailtem.To property to a ";" separated list of addresses.

Try adding the following line for each recipient

myForward.Recipients.Add "test1@test.com"

myForward.Recipients.Add "test2@test.com"

myForward.Recipients.Add "test3@test.com"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM