SMTPS (port 465), standalone.xml, email-configuration

16 views
Skip to first unread message

NightLabs Consulting

unread,
Jan 21, 2026, 8:14:18 AMJan 21
to WildFly
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 :-)

Jose Socola

unread,
Jan 21, 2026, 9:12:45 AMJan 21
to NightLabs Consulting, WildFly
Hi, just use attribute ssl="true"


Regards,
JS

--
You received this message because you are subscribed to the Google Groups "WildFly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wildfly+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/wildfly/2c82cb02-c931-4b54-ab4d-07bfbc7ad813n%40googlegroups.com.

NightLabs Consulting

unread,
Jan 21, 2026, 9:33:00 AMJan 21
to WildFly

Thanks a lot!
Reply all
Reply to author
Forward
0 new messages