Error with Multiple Recipients on .SendMail

G

Guest

I am getting an error when using multiple email addresses in the .SendMail
method. When for instance Recipients is "(e-mail address removed); person2@xyz,net"
in the following line:

Wb.SendMail Recipients, Subject + " " + Wb.Name, True

I get the message:

Runtime Error '1004'
Unknown recipient name found in recipient list. Use valid name and try again.

The names (addresses) I am usgin are valid. And the command works with just
one recipient. It is when I specify two recipients that I get the error.
Thanks for the help.
 
G

Guest

I read a response to a similar post in this forum. I assign the multiple
addresses to an array and pass the array (array()) to .SendMail in the
Recipients slot. Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top