Html link mail

You're looking to create an HTML link that opens a mail client with a pre-filled email address and subject!

Here's the syntax:

<a href="mailto:[email protected]?subject=Your%20Subject%20Here">Send Email</a>

Let's break it down:

You can add more query string parameters to customize the email:

Here's an example with multiple query string parameters:

<a href="mailto:[email protected]?subject=Your%20Subject%20Here&[email protected]&body=This%20is%20the%20email%20body">Send Email</a>

When a user clicks on this link, their default mail client should open with the pre-filled email address, subject, and body.