Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

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.


Former Member
Former Member replied

Hi Anup,

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



0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question