Automation stitches can be configured on the FortiGate to send email notifications based on the trigger applied. The email setting for where to send the notifications to is configured under Security Fabric -> Automation -> Action.
 After the Email To is configured, it cannot be edited to be left blank, as the field is required.
 If the email setting is required to be completely removed, the custom Action entry itself can be deleted. However, the option to delete is not possible with the default 'Email Notification' automation action.
 To remove the email from the default 'Email Notification' automation action, the following CLI commands can be applied:
FortiGate # config system automation-action
FortiGate (automation-action) # edit "Email Notification"
FortiGate (Email Notification) # show
config system automation-action
edit "Email Notification"
set description "Send a custom email to the specified recipient(s)."
set action-type email
set email-to "email@example.com"
set email-subject "%%log.logdesc%%"
next
end
FortiGate (Email Notification) # unset email-to
FortiGate (Email Notification) # end
|