aspose 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
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: 18570
    
    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