A 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 subject
and 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 CCbbc
— Add a blind CCsubject
— The subject of the emailbody
— The body of the emailThis 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.