Outlook Recipients.Add only allows single email address

llyal

Registered User.
Local time
Today, 04:36
Joined
Feb 1, 2000
Messages
72
Outlook Recipients.Add only allows single email address


Using VBA, Outlook won't let me add more than one Recipient at a time; I cannot do:

objMail.Recipients.Add ("person1@domain1.org; person2@domain2.org; person3@domain3.org")


but then i can do:

objMail.CC = "person1@domain1.org; person2@domain2.org; person3@domain3.org"
objMail.BCC = "person1@domain1.org; person2@domain2.org; person3@domain3.org"


Am i missing something here? How come Recipients does not have the same flexibility as the other "SendTo" fields? How do i get the desired result of multiple e-mail addresses whithout having to add them one at a time?


Thank you!

Llyal
 
Hi Llyal,

you'll be glad to know you are missing something. You can use objMail.To in the same way as .CC and.BCC

HTH

Drew
 
Note: All Add-Commands only allow one object to be added (to a certain collection).
Why not adding twice like:

objMail.Recipients.Add ("person1@domain1.org")

objMail.Recipients.Add ("person1@domain2.org")

and so on?

(hope this works with Outlook)
 

Users who are viewing this thread

Back
Top Bottom