Mailto link Parameters

Parameters

Description

mailto

This parameter holds the email recipient’s address mail.

cc

This parameter holds another mail that will receive the carbon copy of the mail, it is optional.

bcc

This parameter holds another mail that will receive the blind carbon copy of the mail, it is optional.

subject

This parameter holds the subject of the mail, it is optional.

body

This parameter holds the content of the mail, it is optional.

?

This parameter is the first parameter delimiter, it is optional.

@

This holds the other parameter delimiter, it is optional.

How to use Mailto in HTML ?

The mailto link in HTML is a convenient method for users to send emails. It triggers the default email client with pre-filled recipient, subject, body, CC, and BCC fields, often used for feedback forms or direct communication.

Syntax:

<form method="POST" action="mailto: name@email.com" 
enctype="multipart/form-data">

Table of Content

  • Mailto link Parameters
  • Examples to Use Mailto in HTML

Similar Reads

Mailto link Parameters:

...

Examples to Use Mailto in HTML

1. Using Mailto in Form Submission:...

Contact Us