Base De Conhecimento & Downloads
A Base de Conhecimento fornece documentação escrita pela nossa equipe. Por favor selecione a categoria ou pesquise por questões.
Articles
REJECTED - Bad HELO - Host impersonating - exim
If you are getting 'REJECTED - Bad HELO - Host impersonating' in your Java/Jsp application logs then:
1) Verify the server you ae hosting on has correct reverse DNS, for example use http://mxtoolbox.com/diagnostic.aspx SMTP Diagnostics.
2a) if you are using shared IP
In your Java/JSP code make sure you are using localhost as mail server name.
Use
props.put("mail.smtp.host", "localhost");
instead of
props.put("mail.smtp.host", "mail.yourdomain.com");
as if you are using shared IP your email will be sent via the shared IP and the IP will not resolve back to your domain.
2b) if you are using dedicated IP
Make sure mail.yourdomain.com resolves to your dedciated IP
and that your dedciated IP has reverse DNS record set. Contact us if not.
You will then be able to use
props.put("mail.smtp.host", "mail.yourdomain.com");
- © 2016-2024 JVMHost.com All rights are reserved.