| Description | This article describes that the alert mail debug log never shows 'send mail success' by using the office365 mail server. |
| Scope | FortiGate v7.0. |
| Solution |
Comparison of the result by default setting (FortiGuard server). The alert mail setting with the default settings below works expected:
Fortigate# get system email-server
Verifying the results by setting up the office365 mail server but never getting a correct response:
config system email-server
From the debug log found the mail server response code 554:
diag debug reset
2024-05-03 16:32:09 session: 0x8d64e90, rsp_state: data2, code: 554 <----- Means mail server did not accept the email.
Based on the error message containing the invalid sender for the SMTP server, Office365 only allows specific sender names. Modified the alertmail setting below then the status that works as expected:
config alertemail setting |
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 2026 Fortinet, Inc. All Rights Reserved.