add email address so that it can't be captured by spammers

  • Thread starter Thread starter DianaH
  • Start date Start date
D

DianaH

I want to add an email link to a site. I've heard it can be done so that
spammers can't scoop.

Does anyone know how this is done?
 
I downloaded spamspoiler but I guess it doesn't work on interactive buttons.
I had inserted an interactive button, for a visitor to click to send an
email ... but spamspoiler can't be open when another window is open.
Bummer.

Thanks for the tip though ... it'll come in handy elsewhere.
Diana

DianaH said:
I want to add an email link to a site. I've heard it can be done so
that spammers can't scoop.

Does anyone know how this is done?

Try JimCo's spam spoiler
http://www.jimcosoftware.com/com/spamspoiler_v1.exe
 
DianaH said:
I downloaded spamspoiler but I guess it doesn't work on interactive
buttons. I had inserted an interactive button, for a visitor to click
to send an email ... but spamspoiler can't be open when another
window is open. Bummer.

Thanks for the tip though ... it'll come in handy elsewhere.
Diana

I'll have to think about this and maybe reply tomorrow. (Time to down tools for the day now and watch a bit of TV)

Basically spamspoiler sets up a JavaScript function. It doesn't have to be open. But IGBTY (I'll get back to you)

Meantime can you post the code or send a URL so I can see what the interactive buttons look like?
I have read that these are not the best to use as they involve Java (not JavaSscript which is fine but Java)
 
You can also use Javascript. Only problem is you have to replicate the
code for each eamail or make it an include. Not sure how it would work
with your interactive button tho. The below is supposedly spiderproof [???]

<script LANGUAGE="JavaScript" type="text/javascript">
<!-- Begin
var showlink = "WEBMASTER";
var subject = "?subject=Web&nbsp;Services&nbsp;Information&nbsp;Request";
var showname = "webmaster";
var site = "yourwebsite.com";
document.write("<a href=" + "mail" + "to:" + showname + "&#64" + site +
subject + ">" + showlink + "</a>")
// End -->
</script>
 
Larry said:
You can also use Javascript. Only problem is you have to replicate the
code for each eamail or make it an include. Not sure how it would work
with your interactive button tho. The below is supposedly spiderproof
[???] <script LANGUAGE="JavaScript" type="text/javascript">
<!-- Begin
var showlink = "WEBMASTER";
var subject =
"?subject=Web&nbsp;Services&nbsp;Information&nbsp;Request"; var
showname = "webmaster"; var site = "yourwebsite.com";
document.write("<a href=" + "mail" + "to:" + showname + "&#64" + site
+ subject + ">" + showlink + "</a>")
// End -->
</script>

I didn't mean to imply that JavaScript can't be used. Your script is in fact similar to what SpamSpoiler generates.

You don't have to replicate the code. It can be a function on an external .js file. Below are the JavaScript functions I use. These
open the default mail program with my return address filled in and a brief subject and text in the body

function myEmail()
{
var userTo = 'myname'
var domainTo = 'mydomain'
var domainext = '.com.au'

return userTo + '@' + domainTo + domainext
}
//------------------------------
function sendEMail()
{
var hometitle = "My Home Page Title"
var text = 'Email Us'
var userCC = ''
var domainCC = ''
var userBCC = ''
var domainBCC = ''
var subject = 'Response from ' + hometitle
var body = 'Please enter message here'
var CC = (userCC != '') ? userCC + '@' + domainCC : userCC
var BCC = (userBCC != '') ? userBCC + '@' + domainBCC : userBCC

document.write
( '<a onmouseover="window.status=\'Email Us\';return true;"'
+ ' onmouseout="window.status=\' \';return true;"'
+ ' href="mailto:' + myEmail()
+ '?subject=' + subject
+ '&cc=' + CC
+ '&bcc=' + BCC
+ '&body=' + body + '">'
+ '<img src="images/display/mailto.gif"><br />'
+ text + '</a>' )
}

The main problem as I see it (as do you by the looks of it) could be how to use this with interactive buttons.

I know nothing about them and have read warnings on this NG not to use them as they are Java based.
(Perhaps I should learn about them so that I can more confidently warn others why *not* to use them.)
 
Thanx for the external js idea. How would you use this for multiple
email addresses though?
I agree with your comment on interactive buttons besides you can achieve
almost the same effort with css.
Larry wrote:

You can also use Javascript. Only problem is you have to replicate the
code for each eamail or make it an include. Not sure how it would work
with your interactive button tho. The below is supposedly spiderproof
[???] <script LANGUAGE="JavaScript" type="text/javascript">
<!-- Begin
var showlink = "WEBMASTER";
var subject =
"?subject=Web&nbsp;Services&nbsp;Information&nbsp;Request"; var
showname = "webmaster"; var site = "yourwebsite.com";
document.write("<a href=" + "mail" + "to:" + showname + "&#64" + site
+ subject + ">" + showlink + "</a>")
// End -->
</script>

I didn't mean to imply that JavaScript can't be used. Your script is in fact similar to what SpamSpoiler generates.

You don't have to replicate the code. It can be a function on an external .js file. Below are the JavaScript functions I use. These
open the default mail program with my return address filled in and a brief subject and text in the body

function myEmail()
{
var userTo = 'myname'
var domainTo = 'mydomain'
var domainext = '.com.au'

return userTo + '@' + domainTo + domainext
}
//------------------------------
function sendEMail()
{
var hometitle = "My Home Page Title"
var text = 'Email Us'
var userCC = ''
var domainCC = ''
var userBCC = ''
var domainBCC = ''
var subject = 'Response from ' + hometitle
var body = 'Please enter message here'
var CC = (userCC != '') ? userCC + '@' + domainCC : userCC
var BCC = (userBCC != '') ? userBCC + '@' + domainBCC : userBCC

document.write
( '<a onmouseover="window.status=\'Email Us\';return true;"'
+ ' onmouseout="window.status=\' \';return true;"'
+ ' href="mailto:' + myEmail()
+ '?subject=' + subject
+ '&cc=' + CC
+ '&bcc=' + BCC
+ '&body=' + body + '">'
+ '<img src="images/display/mailto.gif"><br />'
+ text + '</a>' )
}

The main problem as I see it (as do you by the looks of it) could be how to use this with interactive buttons.

I know nothing about them and have read warnings on this NG not to use them as they are Java based.
(Perhaps I should learn about them so that I can more confidently warn others why *not* to use them.)
 
Larry said:
Thanx for the external js idea. How would you use this for multiple
email addresses though?

The script I posted was for a visitor to compose his/her own email and send it to a specified address (e.g. your own)

Do you want to have a set email sent to many addresses?

This can be done. My thoughts of the top of my head are to alter myEmail() to create multiple addresses. In order to hide the
addresses from spammers, each address will have to constructed in the way

For example:
function myEmail()
{
var userTo = 'myname'
var domainTo = 'mydomain'
var domainext = '.com.au'

var userTo2 = 'name2'
var domainTo2 = 'domain2'
var domainext2 = '.com.au'

var userTo3 = 'name3'
var domainTo3 = 'domain3'
var domainext3 = '.com.au
'
return userTo + '@' + domainTo + domainext + ','
+ userTo2 + '@' + domainTo2 + domainext2 + ','
+ userTo3 + '@' + domainTo3 + domainext3
}

But if you want to send a set text , then you will have to put that text into sendEMail()
e.g.
var body = 'This is the text I want to have sent to all users'

I have to try to remember how to create a line break, so that the text actually formats a bit better. It is *not* <br>. I think it
is the ASCII equivalent of CRLF.

Anyway, if you need to know, post back and I will look into it. (I have done it before, so I should be able to find what I did)
 
Actually what I wanted was a way to encode various email contact
addresses on a site. You have given me the basics of what I need to
do.Thanx. Don't need a canned message as I don't do spam -:)
Q. I run FP2000 so can't use jimco's spamspoiler. Is there any other way
I can hide/protect an email address in a form?
 
Larry said:
Actually what I wanted was a way to encode various email contact
addresses on a site. You have given me the basics of what I need to
do.Thanx. Don't need a canned message as I don't do spam -:)
Q. I run FP2000 so can't use jimco's spamspoiler. Is there any other
way I can hide/protect an email address in a form?

Sounds like you are on the way

Spamspoiler will work on any version.
Basically it just splits the address into parts and reassambles them.
For example:
function myEmail()
{
var userTo = 'myname'
var domainTo = 'my domain'
var domainext = '.com.au'
return userTo + '@' + domainTo + domainext
}
The spam harvesters do *not* see (e-mail address removed) .
They just see: userTo + '@' + domainTo + domainext and don't interpret this as an address.

You then use myEmail() as a variable in another JS function which sends the email
If your script does this, then don't worry about spamspoiler
 
From the Jimco website: Spam Spoiler 1.0 is not compatible with
FrontPage 2000. It only works with FrontPage 2002 and later.
I think I'll just use the common js that you suggested for regular email
addresses and cope with spam from my forms. I think the spammers have
some new version that even fills in required fields in a form. I may
look into requiring entry of encoded characters that must be read and
manually input. Howsoever...thanks for your help Trevor.
 
Larry said:
From the Jimco website: Spam Spoiler 1.0 is not compatible with
FrontPage 2000. It only works with FrontPage 2002 and later.

My apologies.
I think I'll just use the common js that you suggested for regular
email addresses and cope with spam from my forms.

Yep, it is the same idea as JimCo's. If it works for him, it will work for anyone.
I think thespammers have some new version that even fills in required fields in
a form. I may look into requiring entry of encoded characters that
must be read and manually input.

I can help with this as well. See the thread named "Security" where I have been talking to Rob Giordano (Crash)
The basic idea is to present an image with some angled letters on a dotted background and ask the user to enter the same letters
They are called captchas and the site to go to is http://captchas.net/
Howsoever...thanks for your help

Fine. I am sorry mislead re SpamSpoiler
 
Thanx again Trevor for the link to captchas. I had followed the security
discussion earlier [where I got the idea]. Durn thing is, every time I
get intellectual like this I wind up doing a couple hours work to
followup and add the new ideas to my site
-:)
ttfn
 
Back
Top