By Providing Your E-Mail Efficiently in a Web Site
It is known that the interaction is a hallmark of any media currently, but in no other segment she is so striking as on the Web. As important as content clear and up-to-date on a website is to maintain a form of direct contact with all the visitors.
Although the forms are very efficient, mainly because you can specify exactly what information want to get who comes in contact with you, some people still are in the e-mail is a form still more close and practical contact.
A lot of people does not take away the entire profit which the tag mailto can offer on a web site. The use that we all learned to she is the basics:
If you want to specify a subject for this e-mail, you can use the attribute subject, separated from the e-mail by question mark (?):
But what if two people need to receive a copy of the e-mails received through the site? Simple, you can separate the addresses comma:
You can also set e-mail with copy:
Or the carbon copy:
Notice that in both cases we use an equal sign (=) instead the colon (:) before you specify the email address. So as the subject, the attributes cc and bcc are separated from the url by a question mark.
Very well, and to do all of this at the same time? The first attribute extra comes separate with a question mark, and the other with the letter and ampersand (&). So:
We can’t forget that the tag mailto requires a client e-mail configured on the computer of the visitor. How many people and don’t even know what that means, it is always good to offer the option of the form, not to deprive a less experienced user to get in touch with you. Is possible to find free of charge ready-made scripts forms in several sites for webmasters.
Avoiding the spam
The spam techniques are becoming more sophisticated every day that passes. Publish an e-mail on your site is necessary, but it brings this unpleasant consequence.
Until some time ago, it was sufficient to use a text link (<a href=”mailto:[email protected]”>Contact</a>) or add spaces in the middle of the address (<a href=”mailto:[email protected]”>you @ seusite.com</a>). If the user to copy the text and beat on the client’s e-mail without realizing the spaces, it would be advised of the error.
However, today the programs that vasculham the internet search of valid emails also seek to address in the source code of your message. For now, a solution that prevents your mail box get (even more) crap is to make a link like this:
<a href=”mailto:voce *remove* @seusite.com”>[email protected]</a>
This draws the user’s attention immediately to remove the words between the asterisks, but if he doesn’t notice and try to send the e-mail will be notified of the error because of the spaces.
Another option is to replace the at sign (@) for a word, so:
<a href=”mailto:voce [at] yoursite.com”>you [at] yoursite.with</a>
Here also it is important to keep the space in the address, so that the user notices the change.
Of course, these measures do not eliminate the possibility of trash in the your mailbox because spammers are always one step ahead of the front, but it helps to diminish the volume of these unpleasant messages. But it is not because of the spam that we should deprive our visitor a form of contact!