Home » Archive

Articles in the Java/J2ee & open source Category

Java/J2ee & open source »

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

RunJBossAsAServiceOnWindows
http://www.jboss.org/community/wiki/RunJBossAsAServiceOnWIndows

Java/J2ee & open source »

[6 Nov 2009 by Keshav Shetty | One Comment | 4,845 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”);
or
props.put(“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 …