Please consider creating a JavaMail SSL/TLS Servlet example.
In order to avoid be spammed to death I am keeping any email address off
my website and only giving the user a HTML form to fill out with a
backing Servlet. Then in the Servlet I am sending an email using a
external email service provider, back to the appropriate person at their
corporate email address. The external email service provider requires
a SSL/TLS connection on port 465. There is no example on the TomEE
examples page (https://tomee.apache.org/examples-trunk/index.html) for
this use case. The only thread on the users form that I found is this
three year old one
(http://tomee-openejb.979440.n4.nabble.com/Not-loading-smtps-resource-properly-td4664442.html#a4664460).
There is a lot of back and forth about trying this then that then it
worked, O, not it didn't really work, etc.....
- Re: Example+request Nilesh Chauhan
- Re: Example+request David Blevins
- Re: Example+request Nilesh Chauhan
- Re: Example+request Nilesh Chauhan
- Re: Example+request Romain Manni-Bucau
- Example+request Ilya Makedon (CW)
- Re: Example+request Romain Manni-Bucau
- Re: Example+request agumbrecht
- Example+request Fidel Villanueva
- Re: Example+request Romain Manni-Bucau
- Example+request paul
- Re: Example+request Romain Manni-Bucau
- Example+request Ojha, Pradeep Kumar
- Re: Example+request Romain Manni-Bucau