Enable TLS for outbound mail in EAP 7
Howdy,
How can I enable STARTTLS in the SMTP connector (mail-smtp, outbound remote) to connect to Microsoft relay host smtp.office365.com ?
I need to send outgoing mail.
Thanks a lot for your feedback.
Luc
This is my standalone.xml
<outbound-socket-binding name="mail-smtp">
<remote-destination host="smtp.gmail.com" port="465"/>
</outbound-socket-binding>
<subsystem xmlns="urn:jboss:domain:mail:2.0">
<mail-session name="default" jndi-name="java:jboss/mail/Default">
<smtp-server password="*************" username="it-services@ladbrokes.be" ssl="true" outbound-socket-binding-ref="mail-smtp"/>
</mail-session>
</subsystem>