mailto link is great fallback for situations where a contact form isn’t practical. Depending on the how you are using a
mailto link, it’s can be a nice experience to add a default
body to the email client when a user clicks the link. Luckily, this is easier to do than you think.
You can customize the
mailto email template that opens in a user’s email client using the following URL parameters:
cc— Add a CC
bbc— Add a blind CC
subject— The subject of the email
body— The body of the email
This is really useful for making those
mailto links a little bit more user friendly. For example:
<a href="mailto:[email protected]?subject=Yeah buddy!&[email protected]&[email protected]&body=I was wondering...">Send an e-mail to me</a> with any questions.
About the Author
Kevin Leary is a web developer in Boston, MA specializing in enterprise website design and development, online marketing, and conversion optimization.