Email Mailto parameter usage [reprint]

Source: Internet
Author: User

◎ Email mailto parameter usage-David at [7/27/00]

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:

<A href = "mailto: NetEGG@371.net"> click here to send an email to the webmaster! </A>

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.
The first step is to 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:

<A href = "mailto: NetEGG@371.net? Cc = guoshuang@371.net "> click here to send an email to the webmaster and" copy "guoshuang! </A>

Click here to send an email to the webmaster and "copy" guoshuang!

Step 3, just like in the example below, after the CC address is followed, write "& BCC =" to fill in the BCC address (when adding these functions, the first feature is "? ", Followed ).

<A href = "mailto: NetEGG@371.net? Cc = guoshuang@371.net & BCC = guoshuang@163.net> click here to mail to the webmaster and "cc" and "Dark send" guoshuang! </A>

Click here to send an email to the webmaster and "cc" and "Dark send" guoshuang at the same time!

You can also send emails to N people at the same time! Separate addresses with commas:

<A href = "mailto: NetEGG@371.net, guoshuang@371.net, guoshuang@163.net"> click here to send N emails at the same time! </A>

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.

<A href = "mailto: NetEGG@371.net? Subject = sorry, just do an experiment! "> Click here to send an email with a subject! </A>

Click here to send an email with a subject!

What's even more exaggerated is that you can write your emails in advance !!

<A href = "mailto: NetEGG@371.net? Subject = sorry, just do an experiment! & Body = very boring, so I found such a feature "> this email address and content are available! I will be lazy later! </A>

This email address and content are available! I will be lazy later!

※Parameter format :? Parameter = Value & Parameter = value, parameter = Value & Parameter = Value

※Note: This is actually the one that is commonly used to send a topic! In this way, when you reply to or reply to the same topic, the recipient will be "clear!

※It is easy for us to learn computer !! English! Take it for granted!

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.