It’s often very useful to have create a link on your website that when clicked on open a new outgoing email message, for example when you create a “contact us” button. Such link is created using the <a> html tag and the mailto URL scheme.
In it’s mist basic and commonly used form the mailto link indicates the email address of the intended recipient. For example:
<a href=“mailto:[email protected]”>Contact Us</a>
This result in a link that looks like Contact Us.
In fact the email address in the mailto link is even optional, if you leave it out (so the href simply says “mailto:”), a new outgoing email window will be opened in the users default email client. This is useful when you want to create a share link that users can click on so they can send an email to the person of their choosing. [Read more…]