File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes javamail-EmailException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "javamail-EmailException" Watch "javamail-EmailException" New topic
Author

javamail-EmailException

Madhavi Subramaniam
Ranch Hand

Joined: Nov 24, 2011
Posts: 33
Hi,

I'm sending message to some group of email addresses by using Transpot.send() API.

The TO email address list have one invalid address,but other addresses are valid.

Because of one invalid email address, other recipients also not getting the mails and I'm getting javax.mail.SendFailedException also.

How to handle this problem. Please suggest some solution for this.


Thanks

Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18110
    
    8

One of the JavaMail SMTP properties controls this. Here's a link to the documentation for all of those properties (scroll down): http://javamail.kenai.com/nonav/javadocs/com/sun/mail/smtp/package-summary.html.
Madhavi Subramaniam
Ranch Hand

Joined: Nov 24, 2011
Posts: 33
Thanks paul... Thanks a lot...

set true to the property mail.smtp.sendpartial is the solution for this problem.

Thanks for your help
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javamail-EmailException
 
Similar Threads
using java mail API
does one need anti-virus?
Please share any Java code to do email validation
JavaMail sent to multiple recipients
Delete a text file Containing a certain String