File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javamail-EmailException

 
Madhavi Subramaniam
Ranch Hand
Posts: 33
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Pie
Posts: 20203
26
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 33
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic