Issue with mails is it depends on:
- the type of transport
- the provider setup
- the provider protocol (some dont respect the standard protocol)

I can share the config for gmail but it is pretty much the one you have and
it is straight forward. Yahoo is another story typically.


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

2016-05-26 21:54 GMT+02:00 paul <p...@roubekas.org>:

> 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.....
>
> Please consider creating a JavaMail SSL/TLS Servlet example.
>

Reply via email to