aspose file tools
The moose likes Other JSE/JEE APIs and the fly likes javamail-EmailException Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Reply 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: 16483
    
    2

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
Please share any Java code to do email validation
JavaMail sent to multiple recipients
using java mail API
Delete a text file Containing a certain String
does one need anti-virus?