Errors while Configuring SMTP Email Provider

Last Updated: Aug 9, 2024

Overview

While configuring an external SMTP email provider, the emails are not getting sent or users are receiving an unrecognized error.

Applies To

  • Email
  • SMTP email provider

Solution

Look for the Log events in the Auth0 Dashboard. If the Logs in Auth0 show Failed Sending Notification (type: fn), the error code attached is likely from the Provider explaining why the message was rejected or will show invalid credentials.

Below are some sample errors thrown by the Email Provider and sent back to Auth0 in the type: fn log type, indicating that the provider was not set up correctly.

“Error sending email: Invalid login: 535 5.7.0 Invalid credentials”

“error”: “Invalid login sequence while waiting for "334 VXNlcm5hbWU6": 500 Syntax error, AUTH command unrecognized”

This can be fixed in most cases by having the customer review the SMTP Provider’s settings or logs. Reviewing the specific provider’s documentation can help make this more clear if the error is specific enough.