Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SendFailedException, valid email addresses not sent

843830Aug 21 2001 — edited Jun 3 2005
Hi 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 1 2005
Added on Aug 21 2001
11 comments
1,371 views