MessagingException: 501 HELO requires domain address

  • Share
  • Share

Applies to:
NA

Description:
Occurs while trying to send a message

Cause:
The SMTP provider uses the results of InetAddress.getLocalHost().getHostName() in the SMTP HELO command. If that call fails to return any data, no name is sent in the HELO command.

JAVA-Mail , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

  1. admin
    March 20th, 2009 at 10:28 | #1

    Check your JDK and name server configuration to ensure that that call returns the correct data. You may also set the “mail.smtp.localhost” property to the name you want to use for the HELO command.

  1. No trackbacks yet.