Description
This article describes how to configure email alerts because sometimes the FortiGate cannot access to the account in order to send the email alert.
Scope
FortiGate.
Solution
This is an example of the configuration in FortiGate:
Configure a Microsoft Office 365 account in the FortiGate.
Go to System -> Settings-> scroll down to the Email Service option.
Note: The password entered should be the app password generated from the Microsoft account
For more information on how to set up App Password on the Microsoft account, refer to Create app passwords from the Security info (preview) page - Microsoft Support.
config alertemail setting
set username fortigate@example.com
set mailto1 admin1@example.com
set mailto2 admin2@example.com
set filter category
set IPS-logs enable
end
Test this with the following command:
Related articles:
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.