When sending email through Alibaba Mail using an email client or code, an SMTP authentication failure causes a 526 bounce notification. Fix it by correcting the username, password, or server settings.
Problem description
Sending email from Alibaba Mail fails, and the bounce notification contains:
526 Authentication failure
Cause
Alibaba Mail requires SMTP authentication when a client or application sends email. A 526 error indicates that the authentication credentials or server settings are incorrect.
Solution
Review each of the following causes and correct the affected setting.
-
Incorrect username: Enter the complete email address as the SMTP username. Do not include extra characters such as spaces.
Example: a***@example.net
-
Incorrect password:
Enter your account password. Do not include extra characters such as spaces.
-
Incorrect server settings: Use the following SMTP settings in your email client.
-
Setting
Value
Outgoing server (SMTP)
smtp.sg.aliyun.comPort (unencrypted)
25
Port (encryption)
465
For more information about supported email clients and configuration steps, see IMAP/POP/SMTP Server Addresses and Port Configurations.
-