E mail Address Structure

HELLO:

I saw a web site once where people had there E mail addresses listed, it was a bulletin board, but in order to respond to them, you had to take out an extra word that was added into the address at the left of the @.  You could click on reply, but then you had to go up to the address and take the part out that they told you.

this prevents auto Replys from spam servers, etc.

Does anyone know how to do this?


TIA,

Jess
JessPAsked:
Who is Participating?
 
yoshi78Connect With a Mentor Commented:
The web page would have HTML or equiv. in some form such as:

<a href="mailto:someperson@somewhere.com">

so if you wanted to add a word you would have to build the email address and it depends on which language you use as to the syntax you need.

if you are printing from javascript you could use something like:

<script language="JavaScript">
//you may want to build the mailto string here and use a variable below
//the javascript split function could be used to split on the @ or you could insert the word at a specified index
document.write('<a href="MailTo:somepersion' + YOURWORD + '@somewhere.com"');
</script>

again, it will depend on which scripting language you use, if you want a random word, etc...

HTH,
Yoshi
0
 
JessPAuthor Commented:
Thanks Yoshi
0
 
yoshi78Commented:
No problem glad I could help,

and TY!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.