×
×

Temas De Ayuda & Descargas

Los Temas de Ayuda contiene documentación proporcionada por nuestro equipo. Selecciona una categoria o busca tus respuestas.

Articles

JavaMail 550 Access Denied Invalid HELO name

I want to send a mail from one user to second user but I am getting this exception.

org.springframework.mail.MailSendException: Failed messages: com.sun.mail.smtp.SMTPSendFailedException: 550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1)
; message exception details (1) are:
Failed message 1:
com.sun.mail.smtp.SMTPSendFailedException: 550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1)


Q: I get "MessagingException: 501 HELO requires domain address" when trying to send a message. 
A: 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. 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.




Powered by HostBill