Hi everyone,
I'm searching already for quite a while how to configure an outbound SMTP-server using SMTPS (SSL/TLS via port 465) in my standalone.xml and I can't find any clue, anywhere.
Here this is mentioned:
<smtp-server outbound-socket-binding-ref="mail-smtp" tls="true" username="myu...@gmail.com" password="mypassword"/>
But this "tls"-option enables the STARTTLS-handshake over a plain SMTP-connection as it is commonly used on port 587 and not a TLS/SSL-protected connection as it is commonly used on port 465.
At the end of this article, port 465 is mentioned, but since its headline is <h3> it clearly belongs to the <h2>-headline "JBoss AS 5/6 Mail configuration" which talks about "earlier releases of JBoss application server". However, I'm looking for a solution with a Wildfly 33.x or newer.
So, how can I use SMTPS (not plain SMTP with STARTTLS)? What do I need to configure in my standalone.xml?
Thanks a lot in advance!
Cheers, Marco :-)