I have been able to send an email with a simple Java app using javax.mail by
setting SMTP authentication:

Properties props = System.getProperties();
props.put("mail.smtp.auth", "true");

I have been trying to do the same thing through mail.properties:

mail.smtp.auth=true
or
mail.auth = true

I keep getting a 'SMTPSendFailedException: 530 Authentication Required' when
running mvn integration-test.  I was able to recreate this scenario in my
Java app iwthout setting the SMTP authentication.

Is there another way that I can set SMTP authentication for a Struts 2 App?
-- 
View this message in context: 
http://www.nabble.com/SMTP-Authentication-with-Struts-2-App-tf3191569s2369.html#a8860036
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to