September 11, 2008
Java Mail: Make sure the mail.smtp.auth property's value is a String...
If you are using the JavaMail API to send out e-mail via an e-mail server that requires authentication and are getting an error like com.sun.mail.smtp.SMTPSendFailedException: 550 You must authenticate, make sure the mail.smtp.auth property is assigned as a String, like this:
- properties.put( "mail.smtp.auth", "true" );
Not exactly the most obvious bug to find...
Posted 1 year, 7 months ago on September 11, 2008
The trackback url for this post is http://www.eyt.ca/blog/bblog/trackback.php/137/
The trackback url for this post is http://www.eyt.ca/blog/bblog/trackback.php/137/
Comments have now been turned off for this post. If you want to share something, please e-mail me.