Hi,
I have looked on the internet for a long time without finding any information on the configuration of the mail service of jboss
I need to send an email from an EJB through a smpt server which requires TLS authentication. I tried different configurations. It seems that jboss mail service simply ignores some common properties like mail.smtp.tls = true
Any idea?
<mbean code="org.jboss.mail.MailService" name="jboss:service=Mail">
<attribute name="JNDIName">java:/Mail</attribute>
<attribute name="Configuration">
<configuration>
<property name="mail.transport.protocol" value="smtp"/>
<property name="mail.smtp.host" value="smtp.gmail.com"/>
<property name="mail.from" value="username@gmail.com"/>
<property name="mail.debug" value="true"/>
<property name="mail.smtp.auth" value="true"/>
<property name="mail.smtp.tls" value="true"/>
<property name="mail.smtp.user" value="username"/>
<property name="password" value="password"/>
</configuration>
</attribute>
</mbean>