LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 127
Default Error with Multiple Recipients on .SendMail

I am getting an error when using multiple email addresses in the .SendMail
method. When for instance Recipients is ; 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.


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mutiple names in ActiveWorkbook.SendMail Recipients:= daleatshel Excel Discussion (Misc queries) 2 February 5th 07 08:06 PM
Autorecover: Unexpected Error message recipients unite... [email protected] Excel Discussion (Misc queries) 0 June 12th 06 02:41 PM
sendmail error marta Excel Programming 1 July 22nd 04 06:15 PM
Multiple Recipients in SendMail Method. HELP!!! John Baker Excel Programming 2 February 1st 04 01:40 AM
Multiple Recipients Luis Renterķa Excel Programming 1 December 2nd 03 07:23 PM


All times are GMT +1. The time now is 10:20 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"