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.
author and iconoclast
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 <firstname.lastname@example.org> RCPT TO <email@example.com> RCPT TO <firstname.lastname@example.org> hope this helps.