Threat Detection Policy for Outgoing Emails
Administrators can enable threat detection to prevent malware, phishing, and spam emails from being sent by their organization's users to external parties.
Note:
This feature is supported only for Office 365 Mail.
Configuring a Threat Detection Policy Rule for Outgoing Emails

