Compare the two email links below. They are identical in every way, except the first is read by robots while the second is Hidemail. The characters are converted to their Unicode values, then reversed in order en put in a javascript array, which is written out back to front.
| Basic link | Hidemail link |
| my@example.com | |
| Basic code | Hidemail code |
| <a href="mailto:my@example.com">my@example.com</a> |
<script type=text/javascript><!-- e=new Array(109,111,99,46,101,108,112,109,97,120,101,64,121,109); b='';for(i=e.length;i--;)b+=''+e[i]+';';document.write(b.link('mailto:'+b)) //--></script> |
The name is displayed next to the subject line (if provided) in the list of messages in the reader's Inbox and the sender's Sent Items. When no name is provided, the email address is used.
To incorporate a name in a mailto: link, wrap the email in sharp <brackets> like a html tag and place the name in front.
Example: <a href="mailto:My Name<my@example.com>">my@example.com</a>