Knowledge Base

How to correctly edit the HTML code of a signature containing email addresses and links

This article is obsolete and may relate only to older versions of our software.

Problem:

Your message contains a signature that includes Active Directory placeholders with email addresses or web page references, and these placeholders are linked (Fig. 1.). These links disappear if someone replies to or forwards the message (Fig. 2.). You would like the links to be active at all times.

66-1
Fig. 1. A signature contains hyperlinks in the preview pane in Outlook.

66-2
Fig. 2. The links in the signature are disabled (disappear) when someone replies to / forwards the email.

Solution:

Unfortunately, an incorrect HTML code can disable the links in certain email clients once we begin replying or forwarding.

To make hyperlinks appear correctly, both in the preview pane and while editing the signature, you must modify the HTML code of the signature template.

  • If the email address is pulled from Active Directory, the HTML code typically looks like this:
Email: [e-mail] 

The above code is inadequate for correct interpretation of the link by some of the mail clients. The correct code is as follows:

Email: <a href="mailto:[e-mail]"> [e-mail] </a>
  • If we also want the signalling word (Email:) to be bold, add the bold (<b>) tags to the source code of the template:
<b>Email:<a href="mailto:[e-mail]"> [e-mail]</a></b>
  • For hyperlinks, use the following formula:
<b>WWW:<a href="[web page]"> [web page]</a></b>