Sunday, May 6, 2018
Red Hat JBoss Operations Network (ON)
Not able to send mail through JON server.
The SMTP properties are configured in $JON_SERVER/bin/rhq-server.properties with the rhq.server.email.* properties:
By default the rhq-server.properties file has the below parameters and we need to change as per our environment
# Email settings used to connect to an SMTP server to send alert emails.
rhq.server.email.smtp-host=<SMTP Server Address>
rhq.server.email.smtp-port=<SMTP Server Port#> <-- Default Port# 25
After configuring the properties the JBoss ON Server must be restarted.
For JBoss ON versions prior to 3.2, the following document: How can I confirm my server's email/SMTP settings are correct? describes how to test the email settings.
For JBoss ON 3.2 and 3.3 confirm server's email/SMTP settings are correct use below link:
Note: 550 is the SMTP reply code for "mailbox unavailable".
If it still does not work, enable DEBUG to org.jboss.as.mail for more verbose logging.