Exclude Messages from Routing Through Black Pearl Mail Based on Subject Content in M365

Exclude Messages from Routing Through Black Pearl Mail Based on Subject Content in M365

What will you need to do?


There may be scenarios where you have certain emails that you do not want to route through Black Pearl Mail. Examples of these may be automated notifications. To get around this, we can add an exclusion to your existing Black Pearl Mail rule to prevent emails from routing through Black Pearl Mail based on subject content.


If you have any issues or questions during this process, please contact support@blackpearlmail.com. 


There are 2 steps required:


STEP 1 – Login and go to Office 365 Mail Flow Settings

1) Open/go to the Office365 admin console - https://portal.office.com/adminportal


2) Click on Show all...



3) Click on Exchange.




4) Select Mail flow from the left-hand side menu.




STEP 2 – Edit the Existing Rule to Exclude Emails Based on Subject

In this section, we will be editing the existing Black Pearl Mail rule to exclude internal emails from routing through Black Pearl Mail.


1) Click on Rules



2) Highlight the Black Pearl Mail rule.



3) Click on the edit icon.



4) Click on add exception



5) In the drop down select The subject or body… and then select is subject includes any of these words.





6) Click on Enter words…



7) In the text field, enter the word that will identify the emails based on their subject that you don’t want to pass through Black Pearl Mail. In this example, we have a subject of “Alert! Please check resources immediately!”, so we are simply using the word “Alert!”. Click on the plus symbol, then click Ok.



8) Click Save.



After editing the rule, we strongly advise that you send a couple of test emails to ensure that mail is flowing correctly. You can also send some test emails with your exclusion word in the subject. These emails should not be branded. If there are any issues, then go back into the rule and remove the exception you just created.


    • Related Articles

    • Configure Black Pearl Mail routing for users based on group membership for Google Workspace

      These steps will route users through the Black Pearl Mail platform who are members of a specified group.  To carry out the following steps, you will require a Google Workspace account with global administrator permissions. STEP 1 – Create a Group 1) ...
    • Exclude Large Emails from Routing Through Black Pearl Mail

      What will you need to do? The maximum size of an email that be sent through Black Pearl Mail is 18 MB. If you would like to send an email with an attachment larger than this, then we will need to exclude them from routing through Black Pearl Mail If ...
    • Exclude Large Emails from Routing Through Black Pearl Mail for Google Workspace

      What will you need to do? Black Pearl Mail currently has a 18 MB limit on the size of a message that can pass through our platform. Anything larger than this will bounce. If you would like to send mail larger than 18 MB, then you can exclude that ...
    • Configure Google Workspace with Black Pearl Mail

      These steps will route all of your users through the Black Pearl Mail platform. If you prefer to start with a test/pilot group before rolling out with all of your users, follow these instructions.  ​To carry out the following steps, you will require ...
    • Configure Microsoft 365 with Black Pearl Mail

      These steps will route all of your users through the Black Pearl Mail platform. If you would prefer to start with a test/pilot group before rolling out with all of your users, follow these instructions. To carry out the following steps, you will ...