Jump to content
  • Advertisement
Sign in to follow this  
Woody FX

[web] A Safe way to have your e-mail on a webpage?

This topic is 5405 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Is there a safe way to have your e-mail address on a web page without resorting to using and image? or woody<at>e-mail-provider.com Has anybody come up with a good way to handle this? Thanks Woody

Share this post


Link to post
Share on other sites
Advertisement
The best way to do this is use javascript.

Spilt your email up into little pieces and inject it into the page using document.write

Example


<script>
<!--

var pt2 = "to:";
var pt1 = "mail";
var pt3 = "myaddress";
var pt5 = "domain.c";
var pt4 = "@my";

document.write( "a href='" + pt1 + pt2 + pt3 + pt4 + pt5 + "om" + "'>Email me</a>");

-->
</script>





And I'm moving this to WebDev [wink]

Share this post


Link to post
Share on other sites
Nothing stops the spam collector to parse the page after executing all the javascript...

The safest way right now would be to use a picture of the email address. But that has a lot of downsides as you can probably imagine.

And I guess that in the near future spam collecters might as well use OCR on the rendered page to extract thoes email addresses as well...

So ultimately it's best to get a good spam filter solution and wait for a generic answer to the spam problem.

Share this post


Link to post
Share on other sites
You can prevent people from getting your email address by not putting your email address on your website. You could provide a feedback form to let people contact you, or you could even put up an entire forum where people can talk to you and each other.

If this isn't an option, then I'd go with the javascript trickery. Don't use images for this if you want blind people to be able to contact you.

Share this post


Link to post
Share on other sites
Another option might be to have a 'mail me' button and set a specific mail subject. That way you can sort by subject and find the legit mails.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I just use several e-mails.

One is junk mail, basicly e-mail I use for putting into all those forms that require e-mail confirmation or something like that, cause they always "leak" to varius companies wanting to advertise.
Second one is contact e-mail, basicly what OP is refering to.

The last one is my real e-mail, the personal one I only give to directly to someone.

First two e-mail addresses you can always easily change if they get to cluttered, but you'd really want to stick to your last e-mail, you know, to keep in touch with people you actualy know.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!