Bounce message: 526 Authentication failure

Updated at:

Problem

When you send an email from a third-party client or programmatically, the operation fails and returns a bounce message with the following information:

526 Authentication failure

Cause

This error occurs because Alibaba Mail requires account authentication when you send emails from a third-party client or programmatically.

Solution

  • Incorrect username: Verify that the SMTP authentication username is correct. This username must be your full email address and must not contain extra characters, such as spaces.

    • For example, a***@example.net.

  • Incorrect SMTP password:

    • If you have not enabled the security password for third-party clients, use your email account's login password. The password must not contain extra characters, such as spaces.

    • If you have enabled the security password for third-party clients, you must use the generated password to log in. For more information, see Enable and set a security password for third-party clients.

  • Incorrect server address:

  • Access policy restrictions: