I tried to just create a properties class local to the servlet and populate
the values for continued trouble shooting.
============================================================
properties.setProperty("mail.debug", "true");
properties.setProperty("mail.transport.protocol", "smtp");
properties.setProperty("mail.smtp.socketFactory.class",
"javax.net.ssl.SSLSocketFactory");
properties.setProperty("mail.smtp.socketFactory.fallback",
"false");
properties.setProperty("mail.smtp.host", "mailout.easydns.com");
properties.setProperty("mail.smtp.port", "465");
properties.setProperty("mail.smtp.auth", "true");
properties.setProperty("mail.smtp.user",
"[email protected]");
properties.setProperty("mail.smtp.password", "__");
properties.setProperty("mail.smtp.starttls.enable", "true");
properties.setProperty("mail.smtp.starttls.required", "true");
properties.setProperty("user", "[email protected]");
properties.setProperty("password", "__");
============================================================
Which seems to ignore the host value. "localhost" is used not
"mailout.easydns.com" which is the value in the properties object.
Any thoughts?
--
View this message in context:
http://tomee-openejb.979440.n4.nabble.com/Why-does-Resource-crash-the-start-of-TomEE-tp4678614p4678624.html
Sent from the TomEE Users mailing list archive at Nabble.com.