Tuesday, May 25, 2010

Error sending Mail: 501 Syntax: HELO hostname

The exact error I found was:

javax.mail.MessagingException: 501 Syntax: HELO hostname


To fix it I had to set the hostname of the server


hostname $hostname.tld

2 comments: