Avoiding blank AD fields appearing in email messages
Symptoms
To avoid empty AD fields appearing in your Exclaimer Mail Utilities formatted email disclaimer, signature, etc. You must add an Exclaimer IF statement. For example, you 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 but you don’t want the field to appear blank in the email message.Resolution
In the WYSIWYG editor -{if({Mobile Number})} Mobile: {Mobile Number}{endif}
Important: Do not copy and paste from this webpage as the HTML code from this page will be taken as well and the IF statement will not work. Please type directly into the disclaimer editor.
To avoid blank lines appearing in RTF and plain text formats, you need to ensure the "{endif}" is located at the beginning of the next line of text. Please refer to the example below:
{Firstname} {Lastname}
Telephone: {Telephone}
{if({Mobile Number})} Mobile: {Mobile Number}
{endif}
{Reply to Sender}
The IF statement will remove the text (‘Mobile:’) and field value from the email message if the AD field Mobile is blank.
More Information
Replacing blank AD fields with other fields in email messagesTo avoid empty fields when you actually want fields to appear you can use an Exclaimer IF ELSE statement. For example, this will allow you to insert an alternative field if the one you are IF testing isn’t present. If a mobile phone number field isn’t present your alternative could be the office telephone number.
In the WYSIWYG editor -
{if({Mobile Number})} Mobile: {Mobile Number}{else}Tel: {Telephone}{endif}
This statement will use the telephone text heading and field if the Mobile Number field is blank.
Customer support service by UserEcho