cancel
Showing results for 
Search instead for 
Did you mean: 

javax.mail.SendFailedException: 504 5.5.2 <ServerHost>: Helo command reject

Former Member
0 Kudos

Dear All,

While Sending email through, WD Java Application on button click below the error getting "

exception: Sending failed; nested exception is: javax.mail.SendFailedException: Invalid Addresses; nested exception is: javax.mail.SendFailedException: 504 5.5.2 <ServerHost>: Helo command rejected: need fully-qualified hostname

PS: There is no changes on Code, bez same code is working on Test system but on production its not working

Is there any any sort of setting required on server side.

Any help will greatly appricated

Thank a lot.

AB

Accepted Solutions (1)

Accepted Solutions (1)

Qualiture
Active Contributor
0 Kudos

Hi,

You might want to check the primary DNS suffix of your mail server

Former Member
0 Kudos

Hi Anup,

Check with the SMTP team, Some settings they have to do for your server entry in their database.

Regards,

Niks

former_member192434
Active Contributor
0 Kudos

Thanks Niks

There was issue on SMTP server side, SMTP ip was not configured for the particular system.

Answers (0)