A href mail

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

The syntax for creating such a link is:

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

Here's a breakdown of the parts:

You can also add other query string parameters to customize the email, such as:

Here's an example with multiple query string parameters:

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

Keep in mind that the mail client used to open the link will depend on the user's default mail client and settings.