Hi,

When I am trying to send mail via server, I am getting error message :
"Mail server connection failed; nested exception is javax.mail.MessagingException: 501 Syntax: HELO hostname
"

The setting in hosts.template file is as below :

127.0.0.1 localhost localhost.localdomain
124.153.104.21 FQDN
124.153.104.21 localhost


Regards,
Nitya