Use mailto labels carefully when making Web pages

Source: Internet
Author: User
Tags functions mail window client
Web page

In order to contact conveniently, use the Mailto label to put his email on the website, the result directly caused the mailbox to become the spam bucket, so far the mail received a variety of spam mail thousands of letters, this mailbox even if this is abolished.

The reason, or the use of the mailto tag, some such as "Mail-robot" of the automatic search program to their own e-mail address search, and then add to their database, the future of their own mailbox will become the vector, of course, is the object of bombing.

No solution has been found for the time being, except to use the Mailto label instead of the other way.

  Attachment: Six application techniques of "mailto"

As you know, mailto is a very useful HTML tag in web design, and many friends with personal pages like to write their own email address in the eye-catching location of the site, so that once the Web browser clicks a super connection made up of mailto with the mouse, You can automatically open the default e-mail client software in your current computer system, such as Outlook Express and Foxmail. Of course, the use of mailto tags is not just as simple as the above, it has other applications. In order to help users have a comprehensive understanding of the Mailto label, the author here on the use of mailto label to do a detailed summary, I hope to share the exchange with you!

1. If we create a super connection in the Web page such as "mailto: webmaster@webjx.com", the browser will automatically invoke the system default mail client with the mouse click on the super connection. The recipient's address is automatically written in the recipient settings Bar of the Mail editing window, while the other content is blank, leaving it to the visitor to fill out;

2, if you click on the email super connection, I want the system to automatically open the e-mail editing window, in addition to automatically fill in the Address bar of the recipient, in the CC address bar can also automatically fill in the e-mail address you need, you can directly in the page's HTML source code into the form of " mailto: webmaster@webjx.com?tslxg@hotmail.com"Such a statement, where webmaster@webjx.com will automatically appear in the recipient address bar, Tslxg@hotmail.com will automatically appear in the CC address bar;

3, if you want to be in the pop-up Mail editing window can automatically fill in the subject content of the message, you can use the form such as "mailto: webmaster@webjx.com?subject= To give the views of Web teaching network" Such HTML statements, When a viewer clicks an e-mail hyperlink made up of the statement with the mouse, the webmaster@webjx.comappears automatically in the recipient address bar of the subsequent open Mail editing window, and the theme settings bar automatically appears with "comments to the Web teaching network";

4. If you want to enter multiple e-mail addresses at the same time in the recipient's address bar, you can use statements such as "mailto: webmaster@webjx.com;tslxg@hotmail.com". Remember that each e-mail message is separated by a ";" so that when the viewer clicks the e-mail hyperlink created by the statement, the webmaster@webjx.com in the recipient address bar of the pop-up message editing window appears, Tslxg@hotmail.com Such a recipient address, the viewer can send e-mail to these people at the same time;

5. The email address appearing in the web page is often searched by a number of automatic search programs such as "Mail-robot", so that other people can easily use the email address to send you all kinds of spam, in order to be able to reject these spam messages thousands of miles away, We can write the e-mail addresses that are open on the Web page in ASCII form, while remembering that each ASCII code must precede the addition of "&#", for example, we use "mailto: webmaster@webjx.com" in a Web page. Such a statement to create an e-mail hyperlink, after clicking the Super connection, we found that in the next Open Mail Transceiver window, the recipient's address bar will still display the contents of webmaster@webjx.com , and other kinds of automatic mail search tools can not correctly identify such ASCII code, so users receive a variety of dubious spam will be greatly reduced;

6. In general, when the viewer clicks the email hyperlink, the system in the default open mail client software, only automatically in the recipient address bar fill in the content, while the other settings bar is still displayed as blank, if you also want to automatically theme, CC, dark send even the contents of the words, you can use the form of " mailto: webmaster@webjx.com?cc=tslxg@hotmail.com&bcc=web@webjx.com&subject= advice to web-page teaching network &body= Hope your station better and better! "This statement, in which the first function in this statement is"? " Beginning, each of the following features begins with "&", and when you click the e-mail address with the mouse, in the subsequent Open Mail editing window, we will see that the webmaster@webjx.comis automatically filled in the recipient's address bar, In the CC address bar automatically fill in the tslxg@hotmail.com, in the dark Send the address bar automatically fill in the web@webjx.com, in the theme bar automatically fill out the "to Web teaching network recommendations", In the text of the letter will automatically appear "I hope your station better and better!" "Such a text.

The webmaster@webjx.com,tslxg@hotmail.com,web@webjx.com , which appear above are all for the convenience of explanation, and the author randomly set up, Everyone can replace them with their real mailing address according to their own requirements; In addition, if you want to use Mailto to implement multiple functions at the same time, the first feature must be "?" At the beginning, each of the following functions begins with "&"; In addition, CC is the CC address, BCC to send the address after subject, after the subject of the message, the body after the content of the message.



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.