Note that there are some explanatory texts on larger screens.

plurals
  1. PO550 Access denied - Invalid HELO name
    primarykey
    data
    text
    <p>I am using apace common mail API for sending html emails. following is my code.</p> <pre><code>public void sendHTMLMail(String to, String subject, String message , String from) throws EmailException { HtmlEmail email = new HtmlEmail(); email.setHostName(SMTP_HOST_NAME); email.addTo(to); email.setFrom(from, "just-flick"); email.setSubject(subject); email.setSmtpPort(25); email.setHtmlMsg(message); email.setTextMsg("Your email client does not support HTML messages"); email.send(); } </code></pre> <p>But while running the program I am getting following error.</p> <pre><code>Exception in thread "main" org.apache.commons.mail.EmailException: Sending the e mail to the following server failed : mail.just-flick.com:25 at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1242) at org.apache.commons.mail.Email.send(Email.java:1267) at bseller.mail.SendMail.sendHTMLMail(SendMail.java:105) at bseller.mail.SendMail.main(SendMail.java:31) Caused by: com.sun.mail.smtp.SMTPSendFailedException: 550 Access denied - Invali d HELO name (See RFC2821 4.1.1.1) at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388) at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583) at javax.mail.Transport.send0(Transport.java:169) at javax.mail.Transport.send(Transport.java:98) at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1232) ... 3 more </code></pre> <p>Please help me to configure this problem.</p> <p>Thanks</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload