Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3350782
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T01:49:43+00:00 2026-05-18T01:49:43+00:00

A year or so ago I decided to stop using the mailto tag because

  • 0

A year or so ago I decided to stop using the mailto tag because many times it is annoying to the user. It will bring up an email program that the user may not be using at the time, which may also take time to load and may not be what the user wanted to do when he/she clicked on what looked like a link.

Instead I decided to just start displaying the email address without the mailto tag. I believe that both ways probably can produce spam.

My questions are these, Is the mailto tag the accepted way to setup email links, or do good people/companies avoid them? Second, if they both create spam, is there a way to prevent spam from being generated on either? I have seen the mailto being put inside comments somehow, but it seems kind of a hacked way of doing it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T01:49:44+00:00Added an answer on May 18, 2026 at 1:49 am

    You should use the mailto: URI scheme in both HTML4 and HTML5.
    If the user doesn’t want a mail client to load, he won’t click the link.
    Not using mailto: just makes it more annoying to send you email.

    Any half-decent (indecent?) spam crawler will pick up email addresses whether or not they’re in mailto:.

    One effective way to prevent this is to include a (trivially-)encrypted version of the email address in Javascript and write it into the document.
    This way, any spam crawlers that do not execute Javascript won’t get your address.
    If you’re afraid of spam crawlers that do use Javascript, you can only write the email address on mousemove and/or after 5 seconds.
    For accesibility reasons, and for humans with Javascript disabled, you may want to include a scrambled form of the address in plain text. (eg, SLaks (SHIFT+2) MyDomain (period) com)
    You can write a server-side script to generate this automatically for an email address.

    For obvious reasons, I won’t share code. (In order for this to work well, each site should have a different implementation)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

About half year ago I decided to improve my programming efficiency, so I learned
About a year ago, I picked up Scott Ambler's Refactoring Databases: Evolutionary Database Design
We started some overseas merge replication 1 year ago and everything is going fine
I switched to the dvorak keyboard layout about a year ago. I now use
What are my options? I tried MonoDevelop over a year ago but it was
I remember reading a post about a year or so ago by Scott Hanselman
A year ago I was a big fan of .NET. I was developing custom
A year ago I saw a beautiful simple code that gets a data table
About a year ago, a question was asked on stackoverflow about how to horizontally
Background A year ago I had to learn PHP in school, I already knew

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.