Last post Jan 24, 2017 09:47 AM by Eric Du
Jan 20, 2017 02:35 PM|salim20001|LINK
I have an html page where it list an email address and then when I click on it it open that email address as new email on outlook
Here's an example
I didn't understood the coding, for example if I want to encode a new email (email@example.com) what should I write ?
Jan 21, 2017 12:59 AM|KathyW|LINK
You would use <a href="mailto:firstname.lastname@example.org">Email me</a>
The example you gave used the HTML entities for the letters (see
http://www.freeformatter.com/html-entities.html ). There is no need to do so - it all works the same.
It's possible they were trying to obscure the mailto: reference to deter mail address sniffing bots.
Jan 24, 2017 09:47 AM|Eric Du|LINK
According to your description, you can access this website, it can encode the email address:
you provided email and after encoding: