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 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.