| Author |
Multiple email recepients
|
Sundeep Malali
Greenhorn
Joined: Aug 20, 2003
Posts: 3
|
|
Hi, I am using sockets to send email from my application. When the 'To' list has only one address, then the email is delivered properly. But in case of multiple recipients, the email does not reach any of them. I have tried delimiting the addresses using both , and ; . But nothing works. Is there something extra I need to do in case of multiple recipients. Thanks in advance.
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24057
|
|
|
If you mean you're opening a socket to port 25 and sending SMTP commands, what you should do is to put each recipient on a separate RCPT TO: line.
|
[Jess in Action][AskingGoodQuestions]
|
 |
Van Glass
Ranch Hand
Joined: Nov 18, 2000
Posts: 110
|
|
The To: and Cc: headers are really for display purposes by the email client. For each recipient you must issue a RCPT TO command to the SMTP server. e.g. RCPT TO <user@domain.com> RCPT TO <user2@domain.com> RCPT TO <user3@domain.com> hope this helps.
|
 |
 |
|
|
subject: Multiple email recepients
|
|
|