You can add an HTML or plain text legal disclaimer, disclosure statement, signature, or other information to the top or bottom of email messages that enter or leave your organization. To do this, you create a mail flow rule (also known as a transport rule) that adds the required information to messages.
Notes:
If you want the information to be added only to outgoing messages, you need to add a corresponding condition (for example, recipients located outside the organization). By default, mail flow rules are applied to incoming and outgoing messages.
To avoid multiple disclaimers being added in an email conversation, add an exception that looks for unique text in your disclaimer. This ensures that the disclaimer is only added to the original message.
Test the disclaimer. When you create the mail flow rule, you have the option to start using it immediately (Enforce), or to test it first and view the results in the messaging log. We recommend testing all mail flow rules prior to setting them to Enforce.
Open the EAC and go to Mail flow > Rules.
Click Add
, and then click Apply disclaimers.

In the New rule window that appears, enter a unique name the rule.
In the Apply this rule if box, select the conditions for displaying the disclaimer. For example, select The recipient is locatedcondition, and then select Outside the organization. If you want this rule to apply to every message that enters or leaves your organization, select [Apply to all messages].
Select the Do the following drop-down menus and select Apply a disclaimer to the message in the left menu and append a disclaimer in the right menu.
Under the Do the following drop-down menu:
Select the Enter text link. In the specify disclaimer text pane that opens, enter the text of your disclaimer, and then select Save.
Select the Select one link. In the specify fallback option pane that opens, select Wrap, and then select Save. This option only applies if the disclaimer can't be added because of encryption or other mail setting that blocks the signature. When Wrap is selected, the signature is wrapped in a message envelope.
If desired, select the Except if drop-down menus, and then choose whether you want an exception for one of the listed items in the left menu and the condition in the right menu.
Select Next.
Here's the formatting that you can use in your disclaimer text.
| Type of information | Description |
|---|---|
| Plain text | The maximum length is 5,000 characters, including any HTML tags and inline Cascading Style Sheets (CSS). |
| HTML and inline CSS | You can use HTML and inline CSS styles to format the text. For example, use the <HR> tag to add a line before the disclaimer.HTML is ignored if the disclaimer is added to a plain text message. |
| Images | Use the <IMG> tag to point to an image available on the Internet. For example, <IMG src="http://contoso.com/images/companylogo.gif" alt="Contoso logo">.By default, Outlook and Outlook on the web (formerly known as Outlook Web App) block external web content, including images. Users need to acknowledge and download the blocked external content. We recommend that you test disclaimers that have IMG tags to verify they display the way you want. |
| User information for personalized signatures | You can use tokens to add unique attributes from each user's Active Directory account, such as DisplayName, FirstName, LastName, PhoneNumber, Email, FaxNumber, and Department. The syntax is to enclose the attribute name in two percent signs (for example, %%DisplayName%%).For a complete list of attributes that can be used in disclaimers and personalized signatures, see the description for the ADAttribute property in Mail flow rule conditions and exceptions (predicates) in Exchange 2016. |
Exchange can't modify the content of some messages (for example, encrypted messages). For rules that add disclaimers to messages, you need to specify what to do if the disclaimer can't be added. This is known as the fallback option for the disclaimer rule. The available fallback options are:
Wrap: The original message is wrapped in a new message envelope, and the disclaimer text is inserted into the new message. This is the default value.
Subsequent mail flow rules are applied to the new message envelope, not to the original message. Therefore, configure these rules with a lower priority than other rules.
If the original message can't be wrapped in a new message envelope, the original message isn't delivered. The message is returned to the sender in an non-delivery report (also known as an NDR or bounce message).
Ignore: The rule is ignored and the message is delivered without the disclaimer
Reject: The message is returned to the sender in an NDR.
In the EAC, you select the fallback option in the rule action. In the Exchange Management Shell, you use the ApplyHtmlDisclaimerFallbackAction parameter.
The following limitations are limitations when managing email signatures in Microsoft 365:
You can't insert the signature directly under the latest email reply or forward.
Users can't see server-side email signatures in their Sent Items folders.
You can't embed images in email signatures.
Rules skip lines that contain variables they can't update. For example, if you use a variable for a user's phone number but the phone number isn't provided for a user, the system skips the line containing the variable.