Incode Systems Logo Incode Systems, Inc.
www.incodesystems.com
E-mail: webmaster [at] incodesystems.com
(Last modified: Friday, July 8, 2011 5:59pm)

How to include a display name in a mailto link

Display name: Joe Schmoe
E-Mail address: jschmoe@abc.com

Since the display name contains a space, double-quote it and follow it with the e-mail address surrounded by < and > characters, like this:

"Joe Schmoe" <jschmoe@abc.com>

Next, encode all the reserved characters using URI encoding and include it in a mailto anchor tag:

<a href="mailto:%22Joe%20Schmoe%22%20%3cjschmoe@abc.com%3e">Send e-mail to Joe Schmoe</a>

Here is a working link:
Send e-mail to Joe Schmoe