How to resolve errors with SMTP Mail service

Modified on Mon, 13 Jun, 2016 at 11:47 PM

  • Run skedler in debug mode
  • Open a scheduled report and try Mail now
  • Open the log file at log/skedler.log
  • Below are the list of possible errors

SSL ERROR

[2016-02-29 17:37:22.207] [ERROR] skedler - SettingsHelper - Error in mail transport  { [Error: 139738712528704:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:794:
] stage: 'init' }
Error: 139738712528704:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:794:
    at Error (native)

 

To Resolve

  • Secure connection should be enabled based on the port.
  • For SMTP port 25 DO NOT set secureConnection to true.



DNS not resolved


[2016-02-29 17:38:09.080] [ERROR] skedler - SettingsHelper - Error in mail transport  { [Error: getaddrinfo ENOTFOUND pro.turbo-smtp.c pro.turbo-smtp.c:25]
  code: 'ENOTFOUND',
  errno: 'ENOTFOUND',
  syscall: 'getaddrinfo',
  hostname: 'pro.turbo-smtp.c',
  host: 'pro.turbo-smtp.c',
  port: '25',
  stage: 'init' }


To Resolve

  • Check whether outgoing server address is specified correctly in email configuration page


Authentication Error

[2016-02-29 17:51:17.504] [ERROR] skedler - SettingsHelper - Error in mail transport  { [AuthError: Invalid login - 535 authorization failed (#5.7.0)]
  name: 'AuthError',
  data: '535 authorization failed (#5.7.0)',
  stage: 'auth' }


To Resolve
  • If a SMTP client authenticates but the username or password is incorrect, or the account is disabled, Mail server sends this error message to the client. Check whether the credentials are configured correctly in email configuration page


Invalid greeting from server

{ [Error: Greeting never received] code: 'ETIMEDOUT', errno: 'ETIMEDOUT' }

To resolve
  • Means that the server is down or the mails are waiting in queue.



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article