Troubleshooting TIP: FortiToken activation email fails due to Gmail SMTP authentication error
| Description | This article describes a common issue where FortiGate fails to send the FortiToken activation email (QR code) to users due to SMTP authentication errors when using a Gmail account with two-step verification enabled. |
| Scope | FortiGate configured to send FortiToken activation codes via Gmail SMTP server. |
| Solution | When using a Gmail account with two-step verification (2FA) enabled, FortiGate cannot authenticate using the standard email password. This results in authentication errors such as:
session: rsp_state: auth2, code: 535 <----- Send mail failed
To resolve this issue:
config system email-server set password <App Password> end
For more information, refer to the Google support page: https://support.google.com/accounts/answer/185833?hl=en |