Code It All.com

Menu

Home
Help Forum
CIA Topsite

Getting Started
HTML Tags
Links
Graphics
Text
Display Your Code
Site Formatting
CSS
PHP
Javascript
Guestbooks / Shoutbox
Lists

E-mail
   - What not to do?
   - Easy Technique
   - Flash Contact Form
   - Conceal Your E-mail
   - Using MailTo

Extras
Site Tips

Tools

Color Chart
Scrollbar Gen
ASCII Chart
HTML Cheat Sheet
MySpace Ad Remover
Xanga Ad Remover

Contact Me





Site Links

- MySpace Icons
- Your link here
- More Affiliates...

E-Mail

Any good website has a contact section.  If you can't contact the owner with bugs in the site, questions or comments then you're probably not really being helped.  The problem with just throwing your e-mail out there on the front page of your site is that there are bots that search for the @ sign that is in every e-mail address and spam the address.  Therefore if you're going to put your contact information on the internet I'd recommend using one of the following techniques.

What Not to Do

Do not use the mailto: function for a link to your e-mail address by itself.  This screams send me spam to all the bots on the internet.

Do not just make your e-mail address text on your page either.

 Top



Easy Technique

The easiest technique I've seen people use is to take a picture of your e-mail address and place the picture on your website.  To the visitor it looks like text but to the bot scanning for e-mail addresses it's just another picture.  Very simple technique and effective.

Email Me

 Top



Flash Contact Form

Using a flash form is useful too because although the information for your address is available it's not on that page itself and is only accessed during the sending of messages.  This keeps it hidden from the visitor and as best as it can from the bots.  Still if you want to be certain that your e-mail will not be spammed I would recommend the picture method above.

Download the Flash Method here

If you would like to edit the color of the form itself you need to open emailform.fla in a flash editor and change it.  When exporting the finished form be sure to make it emailform.swf and upload everything to the same location or it will not work.
You can either link to the contact.htm file for the form to appear or copy the code in contact.htm and place it on the page you want the form to appear on.

This was created by kirupa at Kirupa.com, it's a great script so I figured I would provide it.  Credit is being given where credit is due.  Visit Kirupa.com to see a full flash email form tutorial.

Contact Me

 Top



Conceal Email Address

This has been borrowed from about.com to see the site please go here.  This will create an encoded link so that bots can't read the text to find an email address but it will work just the same as using MailTo.

If you want an image to be what is clicked to send the e-mail just put the img src code in for name.
Name:
Email Address:
HTML
Javascript

Mail To (not recommended)

If you don't want to use those two techniques you can always use the mailto technique.  It's most likely going to result in spam but I'll tell you how to do it anyway.  Please note instead of using this code you will recieve the same result by using the form above.  Please protect yourself from spam and use the encoded technique.

<a href="mailto:emailaddy@email.com?subject=Subject">Mail Me</a>

Click Here to See What Would Happen
(notice I'm not using the real e-mail address for this one).

 Top
Code It All - Copyright 2008
users online

Valid HTML 4.01 Transitional