Hi,
I’m using Cuba Platform 6.8 and I’m trying to send e-mails using SMTP server from Hostgator.
I tried the following params
cuba.email.fromAddress = myaccount@mydomain.com
cuba.email.smtpHost = mail.mydomain.com
cuba.email.smtpPort = 26
cuba.email.smtpAuthRequired = true
cuba.email.smtpUser = myaccount@mydomain.com
cuba.email.smtpPassword = *********
cuba.email.smtpStarttlsEnable = false
cuba.email.smtpSslEnabled = false
Then I tested using JMX Console, but no success.
Failed to close server connection after message sending; nested exception is
javax.mail.MessagingException: Exception reading response;
nested exception is:
java.net.SocketTimeoutException: Read timed out
at com.haulmont.cuba.core.app.Emailer.persistAndSendEmail(Emailer.java:215)
If I do cuba.email.smtpAuthRequired = false
, I get:
Failed messages: com.sun.mail.smtp.SMTPSendFailedException: 550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1)
I also tried with ports 25 and 587, with different combinations of the parameters: smtpAuthRequired, smtpStarttlsEnable and smtpSslEnabled.
Tried also with another SMTP server but got the same results
Any suggestion?
Thank you
Claudio