is the server protected by TLS or SSL?  or is it open?

if SSL protected have you tried:
p.put("mail.smtp.auth", "true");
p.put("mail.smtp.ssl.enable", "true");

Also have you tried loading Mail Session as a Resource in context.xml (or
tomee.xml) as per my previous example?  I didn't have much luck configuring
it the way you are describing.

Regards,
Matthew  



--
Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html

Reply via email to