http://tinyurl.com/

to generate your own redirecting email addresses without the need to host your own scripting program. Just be sure to:

1. Include a mailto: in front of the submitted email address, and
2. Only use standard keyboard characters, such as: lower-case a through z and 0 through 9 and =equal=sign= and ?question?mark? and &ersand& and %percent%sign% and 'single'quotation'mark'

For example:
I want to convert this address into a tinyURL equivalent:

mike@some.where?subject=Hello&body=Wassup%20Mike?

So, I go to http://tinyurl.com/ and enter this string of characters into the "Enter a long URL to make tiny:" toolbox:

mailto:mike@some.where?subject=Hello&body=Wassup%20Mike?

and hit the Make TinyURL! button, and voila!, the next page that gets generated will display my input string and its tinyURL equivalent registered in their database:

http://tinyurl.com/5ty6d

Now all I have to do is use it instead of its original mailto:email@address hyperlink and kiss those spammers goodbye!

Hint:
Anything you enter into tinyURL's "Enter a long URL to make tiny:" toolbox will get converted, so don't enter anything which might pose a problem for some browsers. For example, this will pose a problem in my Opera browser 5.11 for Windows98 by giving me an "illegal url" message after I get it's tinyURL and use it on a webpage (the problem won't immediately show up when tested from tinyURL's generated output page):

señor.rodriguez@some.where-else (this may give no error, but we haven't substituted its tinyURL equivalent, yet)

http://tinyurl.com/69s83 (test this link and see what happens in your browser.....)

No problems, yet, maybe? But what if we put the non-standard character in the subject?:

señor.rodriguez@some.where-else?subject=Attention%20to:%20Señor%20Rodriguez

And then test its tinyURL equivalent:

http://tinyurl.com/64fhc

But, replace the tilde 'n' with the letter 'n', or the more phonetically rendered: 'ni', and no problems will occur:

senior.rodriguez@some.where-else?subject=Attention%20to:%20Senior%20Rodriguez

And then test its tinyURL equivalent:

http://tinyurl.com/4dxs9

This next example isn't illegal in my browser, but it sure doesn't give the intended result. It's also unnecessary to add any additional protection through the use of HTML code, since we're already using http:// redirection. Although using &#109&#097&#105&#108&#116&#111: instead of mailto: and @ instead of @ symbols and . instead of .periods. is another way to fool those spammers. (Notice how I get away without using a semicolon at the end of each of the HTML codes for each of the seven characters of mailto: but is required at the end of that string of codes.)

HTML code as it is viewed (and skipped over) by the email address, harvesting webbot:
<a href="&#109&#097&#105&#108&#116&#111&#58;me&#64;some&#46;where-else">mailto:me&#64;some&#46;where-else</a>

So, we mistakenly and unnecessarily go to http://tinyurl.com/ and enter the character string:

&#109&#097&#105&#108&#116&#111&#58;me&#64;some&#46;where-else

and get its tinyURL:

http://tinyurl.com/5sj4u

The surfer sees this link behind this link-text in his browser (hover your cursor over the link to view its URL and then click on it):
mailto:me@some.where-else

Doesn't work? Does it? The browser is busy looking up a host name called: &#109&#097&#105&#108&#116&#111&#58;me&#64;some&#46;where-else

But if we put a mailto: in front, rather than all that HTML code for mailto: and only use the HTML code for the @ symbol and .periods. using this:

mailto:me&#64;some&#46;where-else

then clicking on this:

http://tinyurl.com/3q6d6

will either produce an unintended yucky mess, or worse, your browser will complain again that this is illegal!

-- Vinyasi ---, November 25, 2004

Instead of using http://tinyurl.com, you can use http://shurl.org

Reason: With Shurl.org it's possible to use your own name in the url. If your e-mail address is someone@somewhere.com then your Shurl.org url may be http://shurl.org/someone that redirects to mail:someone@somewhere.com

-- Jan Swartling, November 30, 2004

Prevent e-mail from harvesting your e-mail addresses just to make your Gif email: STOP SPAM - Make Your Email Invisible to SPAMMERS

-- Vladimir Bosev, August 6, 2005
I tried a different approach, which - like most approaches - has some limitations, that might be overcome by putting some more work into this. One of them is, that this can be only used on php pages.

Three steps to a secure mailto: link.

First of all, add a <?php include("spamprot.php"); ?> onto the top of your page ( content revealed later on )

Then add this piece of javascript to the document with the mailto link in it:

<script language="javascript"> function Protect() { var st = document.cookie mylink = document.getElementById("mylink"); st = st.replace("%40","@"); st = st.replace("%3A",":"); st = st.replace("mail=",""); mylink.href = st; } </script>

The link in the body is declared this way: <a href="" id="mylink" onclick="javascript:Protect();" >Mail me</a>

The content of the spamprot.php is this: <?php setcookie("mail","mailto:admin@artviper.ch"); ?>

I tried to read out the email with several tools, php scripts and others - nothing. The email keeps hidden.

Any questions, ideas, critcism? http://www.artviper.net

-- Frank Herget, May 28, 2006

Add a comment | Add a link