Created on 05-29-2017 01:54 PM Edited on 08-30-2024 01:40 AM By Jean-Philippe_P
Description
Configure the destination of the email alert.
config alertemail setting
set username "test@gmail.com"
set mailto1 "test@fortinet.com"
end
Configure the Gmail account to use an App Password:
An App Password is a 16-digit passcode that gives a less secure app or device permission to access the Google Account.
App Passwords can only be used with accounts that have 2-Step Verification turned on.
Give a name for your app-specific.
Copy the password and paste it into the email server password.
config system email-server
set server "smtp.gmail.com"
set port 587
set authenticate enable
set username "test"
set password SGKSDHFK <---------------
set security starttls
end
For more information on how to set up an App Password on the Google account, refer to the below document:
Following this, it will be possible to send alert emails.
Test this with the following command:
diagnose log alertmail test
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 2024 Fortinet, Inc. All Rights Reserved.