Home » Archive

Articles in the Java/J2ee & open source Category

Java/J2ee & open source »

[6 Nov 2009 by Keshav Shetty | No Comment | 2,004 views]
Run JBoss as a service on Windows


Java/J2ee & open source »

[6 Nov 2009 by Keshav Shetty | One Comment | 4,859 views]

In java and j2ee we often send emails from our applications, Many times we get SendFailedException because few of the recipient email address are invalid which causes email delivery failure for even the valid recipient email address.
In order to bypass this exception and deliver the emails for valid email addresses, we can add following settings or enable properties so that whole email not rejected.
props.setProperty(“mail.smtp.sendpartial”, “true”);
In case if you still get this issue, then you need to check your server settings.
Also you can catch SendFailedException and find out valid unsent address …