Create dynamic Signature for Exchange Organization

I have worked on a signature scripts and found as useful to share publically. The specialties of the signature are as follows

  • Apply signature, disclaimer text etc. for selected users, entire users or single users
  • Dynamically display name, department, phone number, social network links of the company etc.
  • Include Image in signature
  • Include disclaimer text
  • Users can’t select/unselect the signature applied by the administrator

Here we go:

Note: Steps are being prepared in Exchange 2013 environment. The script and steps can work with other Exchange versions also with slight mofications

  1. Exchange Admin Center (EAC) -> ‘mail flow’ -> ‘rules’
  2. Select ‘Apply Disclaimers’  and we are going to set the signature in the following window

sig3. Name it. Select ‘Apply this rule if’ conveniently, there are various options available as follows

  1. Sender or recipient wise
  2. If the user is a member of a group (If you want to apply the signature to selected members, ad those members in a group and select the group here)
  3. Inside/Outside members
  4. Apply if subject/body includes specified text
  5. If the email address contains specific test etc.

4. Enter text as follows and here is the script we are going to apply.

The following script can take the following parameters dynamically. These values can be dynamically applied to each users. These values are being fetched from Active Directory dynamically

  1. Firstname
  2. Lastname
  3. Office
  4. Phone
  5. Mobile Number
  6. Email

And following are the fixed values that can handle through the script

  1. Website address
  2. Logo/Image
  3. Facebook Page
  4. LinkedIn Page
  5. Twitter page
  6. YouTube Page
  7. Disclaimer text

Here is the script and you wanted to edit it according to your organization requirements

<html>
<body>
<br>
<b>%%Firstname%% %%Lastname%%&nbsp;&nbsp;&nbsp;&nbsp|&nbsp;&nbsp;&nbsp;&nbsp;<font color=”#1d99d5″>%%Office%%</font></b><br><br>
Office: %%Phone%% <br>
Mobile: %%MobileNumber%%<br>Email: %%Email%%<br><a href=”13.126.184.140″>
<i>www.exchangeonline.in</i></a><br><br>
<img src=”http://13.126.184.140/signature/signature/sig.png” style=”border-style: none”> </a>
<br>
<a href=”https://www.facebook.com/pages/exchangeonline.in/123456789″>
<img src=”http://13.126.184.140/signature/signature/fb.png” style=”border-style: none”></a>
<a href=”http://www.linkedin.com/company/exchangeonline.in”>
<img src=”http://13.126.184.140/signature/signature/Link.png” style=”border-style: none”></a>
<a href=”https://twitter.com/exchangeonline.in”>
<img src=”http://13.126.184.140/signature/signature/tw.png” style=”border-style: none”></a>
<a href=”http://www.youtube.com/channel/ABCDEFGHIJK”>
<img src=”http://13.126.184.140/signature/signature/yt.png” style”border-style: none”></a>
<br>
<br>
<font color=”#1d99d5″><b>Important Notice:</b></font><br>This transmission may contain information which is confidential and privileged and intended only for the addressee. If you are not the addressee you may not use, disseminate or copy this information. If you have received this information in error please notify us immediately.
</body>
</html>
</font>

5. Last step is specify a fallback action conveniently. I have selected as ‘wrap’

6. All the other options are set as unchanged

Let me know if you have any challenges in any of the portion of the guidelines