SendFailedException, valid email addresses not sent
843830Aug 21 2001 — edited Jun 3 2005Hi all,
I'm using the JavaMail 1.2 API to send email to an SMTP server and I'm having a problem with invalid addresses. I'm using the Transport.sendMessage(Message, Address[]) method. The API docs says, ". Also, if any of the addresses is invalid, a SendFailedException is thrown. Note however, that the message is sent to the valid addresses."
However, if there is an invalid address I get the SendFailedException as expected, but the message is not sent to the valid email addresses.
Has anyone experienced this? Solutions, workarounds?
Thanks,
Derek