Relevant Products: Mail Disclaimers
WARNING! The following product was discontinued on 1st April 2021 and is no longer available for purchase or support:
- Mail Disclaimers
For more information, please see the Discontinued Questions and Answers page.
To avoid empty Active Directory (AD) fields appearing in your Exclaimer Mail Disclaimers, formatted email disclaimer, signature, and so on you can add a Conditional Field.
For example, you may want to include a mobile telephone number field in your organization’s email messages from your AD users. Some of your AD users don’t have a work mobile telephone number so you want them to default to their telephone number field instead.
To resolve this:
- In the Disclaimer editor, select Fields, click Advanced then select Conditional Field to insert a conditional field.
- On the right-hand side Properties pane, set the If property to Mobile.
This is the Active Directory field whose content you will want to test.
- Click on the ellipses against the Then property.
This is the data that will be output if the field being tested is not blank.
- Enter Mobile: and from the Fields dropdown add the Mobile field.
- Select OK to close the Then editor.
- Click on the ellipses against the Else property.
This is the data that will be output if the field being tested is blank.
- Enter Office: and from the Fields dropdown add the Telephone number field.
- Select OK to close the Else editor.
Your Conditional Field should now be setup.
- Click Preview.
For users with a work mobile telephone number, the work mobile number will be displayed, but for users that don't have a work mobile telephone number, the standard telephone number will be displayed.
Additional Information: The Conditional Field provides the same "if...else...endif" functionality as the Mail Utilities product. In addition, the Then and Else editors allow you to include a combination of Active Directory fields, images, RSS feeds and text when the Active Directory field is or isn't present.