will mail forms stop bots obtaining mail address

P

Pieman

I currently have a contact page on my website with a couple of mail
addresses on it, that are receiving lots of spam, i guess that bots are
trawlling the pages and picking up the mail addresses. Will changing the the
page to include a form prevent bots from picking up the mail addresses?
Sorry a bit ambigious I know...

The code I am proposing to use is as follows: -
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Recipient</title>
</head>

<body>

<FORM NAME="mailer" METHOD="post" ACTION="" ENCTYPE="text/plain"
onSubmit="(document.mailer.action += mailtoandsubject)">


<TABLE BORDER=0>
<TR VALIGN="top">
<TD>Recipient:</TD>
<TD><SELECT NAME="mailtoperson" onChange="msg(this.form)">
<OPTION VALUE="">-- Select --
<OPTION VALUE="(e-mail address removed)">department1
<OPTION VALUE="(e-mail address removed)">department2
</SELECT></TD>
</TR>
<TR VALIGN="top">
<TD>Your Name:</TD>
<TD><INPUT TYPE="text" SIZE=45 NAME="name" onChange="msg(this.form)"></TD>
</TR>
<TR VALIGN="top">
<TD>Your Email:</TD>
<TD><INPUT TYPE="text" SIZE=45 NAME="email" onChange="msg(this.form)"></TD>
</TR>
<TR VALIGN="top">
<TD>Priority:</TD>
<TD>
<SELECT NAME="priority" onChange="msg(this.form)">
<OPTION VALUE="Normal">Normal
<OPTION VALUE="Urgent">Urgent
<OPTION VALUE="No Reply Needed">No reply needed
</SELECT></TD>
</TR>
<TR VALIGN="top">
<TD>Subject:</TD>
<TD><INPUT TYPE="text" SIZE=45 NAME="subject"
onChange="msg(this.form)"></TD>
</TR>
<TR VALIGN="top">
<TD>Message:</TD>
<TD><TEXTAREA NAME="message" COLS=45 ROWS=5 WRAP="virtual"
OnChange="msg(this.form)"></TEXTAREA></TD>
</TR>
<TR>
<TD> </TD>
<TD><INPUT TYPE="submit" VALUE="Send Message">
<INPUT TYPE="reset" VALUE="Reset"></TD>
</TR>
</TABLE>
</FORM>

<SCRIPT LANGUAGE="JavaScript">
function msg() {
document.mailer.action = "mailto:"
mailtoandsubject =
((document.mailer.mailtoperson.options[document.mailer.mailtoperson.selectedIndex].value)
+ '?subject=' + document.mailer.subject.value);
}
</SCRIPT>

<p><center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>


</body>

</html>
 
R

Ratatooie

No. As long as the HTML contains the email addresses, they will see them.
(So an include won't work as it is a save-time component not a run-time
component.)

Bots harvesting from web sites isn't a major cause of spam, according to
some of the studies I have seen.

Nevertheless, you CAN hide the address.

Do the "form stacking" method to hide the address. (You can get a complete
description of that by using Google groups on my username to find posts
about it a week or two ago.) Basically, you make one form use another form
as a confirmaiton page then on to the real confirmation page. The first
form submits to a file (what the bot sees) and the second form sends the
data via email (which the bot won't see).

Or, you can get a spam filter (or a better one). Spam is pretty much part
of the internet so it's better over the long run to figure out how to deal
with it.

Pieman said:
I currently have a contact page on my website with a couple of mail
addresses on it, that are receiving lots of spam, i guess that bots are
trawlling the pages and picking up the mail addresses. Will changing the
the page to include a form prevent bots from picking up the mail addresses?
Sorry a bit ambigious I know...

The code I am proposing to use is as follows: -
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Recipient</title>
</head>

<body>

<FORM NAME="mailer" METHOD="post" ACTION="" ENCTYPE="text/plain"
onSubmit="(document.mailer.action += mailtoandsubject)">


<TABLE BORDER=0>
<TR VALIGN="top">
<TD>Recipient:</TD>
<TD><SELECT NAME="mailtoperson" onChange="msg(this.form)">
<OPTION VALUE="">-- Select --
<OPTION VALUE="(e-mail address removed)">department1
<OPTION VALUE="(e-mail address removed)">department2
</SELECT></TD>
</TR>
<TR VALIGN="top">
<TD>Your Name:</TD>
<TD><INPUT TYPE="text" SIZE=45 NAME="name" onChange="msg(this.form)"></TD>
</TR>
<TR VALIGN="top">
<TD>Your Email:</TD>
<TD><INPUT TYPE="text" SIZE=45 NAME="email"
onChange="msg(this.form)"></TD>
</TR>
<TR VALIGN="top">
<TD>Priority:</TD>
<TD>
<SELECT NAME="priority" onChange="msg(this.form)">
<OPTION VALUE="Normal">Normal
<OPTION VALUE="Urgent">Urgent
<OPTION VALUE="No Reply Needed">No reply needed
</SELECT></TD>
</TR>
<TR VALIGN="top">
<TD>Subject:</TD>
<TD><INPUT TYPE="text" SIZE=45 NAME="subject"
onChange="msg(this.form)"></TD>
</TR>
<TR VALIGN="top">
<TD>Message:</TD>
<TD><TEXTAREA NAME="message" COLS=45 ROWS=5 WRAP="virtual"
OnChange="msg(this.form)"></TEXTAREA></TD>
</TR>
<TR>
<TD> </TD>
<TD><INPUT TYPE="submit" VALUE="Send Message">
<INPUT TYPE="reset" VALUE="Reset"></TD>
</TR>
</TABLE>
</FORM>

<SCRIPT LANGUAGE="JavaScript">
function msg() {
document.mailer.action = "mailto:"
mailtoandsubject =
((document.mailer.mailtoperson.options[document.mailer.mailtoperson.selectedIndex].value)
+ '?subject=' + document.mailer.subject.value);
}
</SCRIPT>

<p><center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>


</body>

</html>
 
T

Tom [Pepper] Willett

"Bots harvesting from web sites isn't a major cause of spam, according to
some of the studies I have seen."

I don't know what you mean by that, but I beg to differ from experience.
--
Tom [Pepper] Willett
Microsoft MVP - FrontPage
FrontPage Support: http://www.frontpagemvps.com/
----------
Ratatooie said:
No. As long as the HTML contains the email addresses, they will see them.
(So an include won't work as it is a save-time component not a run-time
component.)

Bots harvesting from web sites isn't a major cause of spam, according to
some of the studies I have seen.

Nevertheless, you CAN hide the address.

Do the "form stacking" method to hide the address. (You can get a
complete description of that by using Google groups on my username to find
posts about it a week or two ago.) Basically, you make one form use
another form as a confirmaiton page then on to the real confirmation page.
The first form submits to a file (what the bot sees) and the second form
sends the data via email (which the bot won't see).

Or, you can get a spam filter (or a better one). Spam is pretty much part
of the internet so it's better over the long run to figure out how to deal
with it.

Pieman said:
I currently have a contact page on my website with a couple of mail
addresses on it, that are receiving lots of spam, i guess that bots are
trawlling the pages and picking up the mail addresses. Will changing the
the page to include a form prevent bots from picking up the mail
addresses? Sorry a bit ambigious I know...

The code I am proposing to use is as follows: -
<html>

<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<title>Recipient</title>
</head>

<body>

<FORM NAME="mailer" METHOD="post" ACTION="" ENCTYPE="text/plain"
onSubmit="(document.mailer.action += mailtoandsubject)">


<TABLE BORDER=0>
<TR VALIGN="top">
<TD>Recipient:</TD>
<TD><SELECT NAME="mailtoperson" onChange="msg(this.form)">
<OPTION VALUE="">-- Select --
<OPTION VALUE="(e-mail address removed)">department1
<OPTION VALUE="(e-mail address removed)">department2
</SELECT></TD>
</TR>
<TR VALIGN="top">
<TD>Your Name:</TD>
<TD><INPUT TYPE="text" SIZE=45 NAME="name"
onChange="msg(this.form)"></TD>
</TR>
<TR VALIGN="top">
<TD>Your Email:</TD>
<TD><INPUT TYPE="text" SIZE=45 NAME="email"
onChange="msg(this.form)"></TD>
</TR>
<TR VALIGN="top">
<TD>Priority:</TD>
<TD>
<SELECT NAME="priority" onChange="msg(this.form)">
<OPTION VALUE="Normal">Normal
<OPTION VALUE="Urgent">Urgent
<OPTION VALUE="No Reply Needed">No reply needed
</SELECT></TD>
</TR>
<TR VALIGN="top">
<TD>Subject:</TD>
<TD><INPUT TYPE="text" SIZE=45 NAME="subject"
onChange="msg(this.form)"></TD>
</TR>
<TR VALIGN="top">
<TD>Message:</TD>
<TD><TEXTAREA NAME="message" COLS=45 ROWS=5 WRAP="virtual"
OnChange="msg(this.form)"></TEXTAREA></TD>
</TR>
<TR>
<TD> </TD>
<TD><INPUT TYPE="submit" VALUE="Send Message">
<INPUT TYPE="reset" VALUE="Reset"></TD>
</TR>
</TABLE>
</FORM>

<SCRIPT LANGUAGE="JavaScript">
function msg() {
document.mailer.action = "mailto:"
mailtoandsubject =
((document.mailer.mailtoperson.options[document.mailer.mailtoperson.selectedIndex].value)
+ '?subject=' + document.mailer.subject.value);
}
</SCRIPT>

<p><center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>


</body>

</html>
 
B

bob

I use JavaScript for email addy's on my site, can't vouch for the success,
but we don't receive allot of group spam. Here's the code.

<script language=javascript>
<!--
var username = "username";
var hostname = "Domain.com";
var linktext = "Click Here To Send Me Email";
document.write("<a href=" + "mail" + "to:" + username + "@" + hostname
+ ">" + linktext + "</a>")
//-->
</script>

Just fill in the "username" & "domain" with yours

Tom
|I currently have a contact page on my website with a couple of mail
| addresses on it, that are receiving lots of spam, i guess that bots are
| trawlling the pages and picking up the mail addresses. Will changing the
the
| page to include a form prevent bots from picking up the mail addresses?
| Sorry a bit ambigious I know...
|
| The code I am proposing to use is as follows: -
| <html>
|
| <head>
| <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
| <title>Recipient</title>
| </head>
|
| <body>
|
| <FORM NAME="mailer" METHOD="post" ACTION="" ENCTYPE="text/plain"
| onSubmit="(document.mailer.action += mailtoandsubject)">
|
|
| <TABLE BORDER=0>
| <TR VALIGN="top">
| <TD>Recipient:</TD>
| <TD><SELECT NAME="mailtoperson" onChange="msg(this.form)">
| <OPTION VALUE="">-- Select --
| <OPTION VALUE="(e-mail address removed)">department1
| <OPTION VALUE="(e-mail address removed)">department2
| </SELECT></TD>
| </TR>
| <TR VALIGN="top">
| <TD>Your Name:</TD>
| <TD><INPUT TYPE="text" SIZE=45 NAME="name" onChange="msg(this.form)"></TD>
| </TR>
| <TR VALIGN="top">
| <TD>Your Email:</TD>
| <TD><INPUT TYPE="text" SIZE=45 NAME="email"
onChange="msg(this.form)"></TD>
| </TR>
| <TR VALIGN="top">
| <TD>Priority:</TD>
| <TD>
| <SELECT NAME="priority" onChange="msg(this.form)">
| <OPTION VALUE="Normal">Normal
| <OPTION VALUE="Urgent">Urgent
| <OPTION VALUE="No Reply Needed">No reply needed
| </SELECT></TD>
| </TR>
| <TR VALIGN="top">
| <TD>Subject:</TD>
| <TD><INPUT TYPE="text" SIZE=45 NAME="subject"
| onChange="msg(this.form)"></TD>
| </TR>
| <TR VALIGN="top">
| <TD>Message:</TD>
| <TD><TEXTAREA NAME="message" COLS=45 ROWS=5 WRAP="virtual"
| OnChange="msg(this.form)"></TEXTAREA></TD>
| </TR>
| <TR>
| <TD> </TD>
| <TD><INPUT TYPE="submit" VALUE="Send Message">
| <INPUT TYPE="reset" VALUE="Reset"></TD>
| </TR>
| </TABLE>
| </FORM>
|
| <SCRIPT LANGUAGE="JavaScript">
| function msg() {
| document.mailer.action = "mailto:"
| mailtoandsubject =
|
((document.mailer.mailtoperson.options[document.mailer.mailtoperson.selectedIndex].value)
| + '?subject=' + document.mailer.subject.value);
| }
| </SCRIPT>
|
| <p><center>
| <font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
| by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
| </center><p>
|
|
| </body>
|
| </html>
|
|
 
A

Andrew Murray

This is similar to the tool on www.jimcosoftware.com


bob said:
I use JavaScript for email addy's on my site, can't vouch for the success,
but we don't receive allot of group spam. Here's the code.

<script language=javascript>
<!--
var username = "username";
var hostname = "Domain.com";
var linktext = "Click Here To Send Me Email";
document.write("<a href=" + "mail" + "to:" + username + "@" +
hostname
+ ">" + linktext + "</a>")
//-->
</script>

Just fill in the "username" & "domain" with yours

Tom
|I currently have a contact page on my website with a couple of mail
| addresses on it, that are receiving lots of spam, i guess that bots are
| trawlling the pages and picking up the mail addresses. Will changing the
the
| page to include a form prevent bots from picking up the mail addresses?
| Sorry a bit ambigious I know...
|
| The code I am proposing to use is as follows: -
| <html>
|
| <head>
| <meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
| <title>Recipient</title>
| </head>
|
| <body>
|
| <FORM NAME="mailer" METHOD="post" ACTION="" ENCTYPE="text/plain"
| onSubmit="(document.mailer.action += mailtoandsubject)">
|
|
| <TABLE BORDER=0>
| <TR VALIGN="top">
| <TD>Recipient:</TD>
| <TD><SELECT NAME="mailtoperson" onChange="msg(this.form)">
| <OPTION VALUE="">-- Select --
| <OPTION VALUE="(e-mail address removed)">department1
| <OPTION VALUE="(e-mail address removed)">department2
| </SELECT></TD>
| </TR>
| <TR VALIGN="top">
| <TD>Your Name:</TD>
| <TD><INPUT TYPE="text" SIZE=45 NAME="name"
onChange="msg(this.form)"></TD>
| </TR>
| <TR VALIGN="top">
| <TD>Your Email:</TD>
| <TD><INPUT TYPE="text" SIZE=45 NAME="email"
onChange="msg(this.form)"></TD>
| </TR>
| <TR VALIGN="top">
| <TD>Priority:</TD>
| <TD>
| <SELECT NAME="priority" onChange="msg(this.form)">
| <OPTION VALUE="Normal">Normal
| <OPTION VALUE="Urgent">Urgent
| <OPTION VALUE="No Reply Needed">No reply needed
| </SELECT></TD>
| </TR>
| <TR VALIGN="top">
| <TD>Subject:</TD>
| <TD><INPUT TYPE="text" SIZE=45 NAME="subject"
| onChange="msg(this.form)"></TD>
| </TR>
| <TR VALIGN="top">
| <TD>Message:</TD>
| <TD><TEXTAREA NAME="message" COLS=45 ROWS=5 WRAP="virtual"
| OnChange="msg(this.form)"></TEXTAREA></TD>
| </TR>
| <TR>
| <TD> </TD>
| <TD><INPUT TYPE="submit" VALUE="Send Message">
| <INPUT TYPE="reset" VALUE="Reset"></TD>
| </TR>
| </TABLE>
| </FORM>
|
| <SCRIPT LANGUAGE="JavaScript">
| function msg() {
| document.mailer.action = "mailto:"
| mailtoandsubject =
|
((document.mailer.mailtoperson.options[document.mailer.mailtoperson.selectedIndex].value)
| + '?subject=' + document.mailer.subject.value);
| }
| </SCRIPT>
|
| <p><center>
| <font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
| by <a href="http://javascriptsource.com">The JavaScript
Source</a></font>
| </center><p>
|
|
| </body>
|
| </html>
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top