This article describes a method to configure FortiSIEM Email notification with a Gmail SMTP server.
FortiSIEM.
FortiSIEM provides an email notification feature to send incidents or reports to users. Users will need to configure an SMTP server to send the email. Some users are using public SMTP servers and face challenges due to 2-factor authentication. As FortiSIEM is not designed to authenticate for 2-factor authentication, the test email will fail with the error 'Test Email Server : smtp.gmail.com fail, Authentication Failed: Invalid username or password':
From the backend, users are able to search for details on the error:
cat /opt/glassfish/domains/domain1/logs/phoenix.log |grep smtp
The 'InvalidSecondFactor' indicates the 2-factor authentication is failed. In that case, users can try the solution below:
Notes:
The 16-digit App password from Google Account is filled in without the space.
Related document:
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.