Email Mailto parameter usage

Source: Internet
Author: User
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


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.