Email allows visitors to easily provide feedback or contact information to the website. It can automatically fill in CC and BCC, or even automatically fill in the topic line. The following describes how to customize the Mailto function.
Email allows visitors to easily provide feedback or contact information to the website. It can automatically fill in CC and BCC, or even automatically fill in the topic line. The following describes how to customize the Mailto function.
The basic html code for implementing Mailto:
Click here to send an email to the webmaster!
When a visitor clicks this link, the client's email program is called and the recipient's address is automatically filled in the recipient's box. Next, we will introduce how to add the mailto function in the following steps.
Step 1: Create a basic mailto that contains the recipient's address.
Step 2: use "? Cc = ", you can enter the CC address. the following example will implement this function:
Click here to send an email to the webmaster and "CC" it to guest!
Step 3: Just like in the following example, after the CC address is followed, write "& bcc =" to fill in the BCC address (when adding these functions, the first feature is "? ", Followed ).
Click here to send an email to the webmaster and "CC" and "dark send" to guest at the same time!
You can also send emails to N people at the same time! Separate addresses with commas:
Click here to send N emails at the same time!
Step 4: Use? Subject = OR & subject (used for CC or BCC) to fill in the topic.
Click here to send an email with a subject!
What's even more exaggerated is that you can write the email content in advance!
This email address and content are available! I will be lazy later!
Next we will summarize the following: Mailto is the recipient address, cc is the cc address, bcc is the bcc address, subject is the subject of the email, and body is the content of the email, if there are multiple parameters after Mailto, the first parameter must start with "?" Start. Below is a complete instance: Mailto: aaa@xxx.com? Cc = bbb@yyy.com & bcc = ccc@zzz.com & subject = subject & body = email content