Customizing mailto: Links

If you’ve ever wondered how to customize a mailto: link, getting it to include your own subject line, list of recipients, cc or bcc someone, and pre-populate a message in the email body… look no further.

First, let’s look at a standard mailto: link.

<a href=""></a>


Nothing special there. When you click that link, it opens up the user’s default mail program, and will populate in the TO field.