Technical Tip: Configuring FortiManager and FortiAnalyzer to use Gmail
| Description | This article describes how to configure FortiManager and FortiAnalyzer to use the Gmail SMTP service. |
| Scope | FortiManager, FortiAnalyzer. |
| Solution |
config system mail set user "email_account" set passwd "16-digit-password" set port 587
Example using a Gmail account 'fortinet.example@gmail.com':
config system mail
diagnose test connection mailserver gmail <email source> <email destination> Example:
diagnose test connection mailserver gmail fortinet.example user1@gmail.com
execute tac report diagnose test connection mailserver gmail <source SMTP address> <destination SMTP address>
Flow capture for FortiManager/FortiAnalyzer v7.6 or above:
diagnose debug application fazmaild ? <Integer> Debug level (08). diagnose debug application fazmaild 8 diagnose debug timestamp enable diagnose debug enable
diagnose debug disable <----- To stop it. diagnose debug reset
Related documents: Technical Tip: How to configure email alerts for config and policy status changes on FortiManager Technical Tip: How to set up Email Notifications with notification.fortinet.net Technical Tip: How to send alerts with Gmail, when using Workflow on FortiManager |
