<form action="http://www.exampledomain.\com/cgi-bin/formmail.cgi"
method="POST" onsubmit="return Form1_Validator(this)"
name="Form1">
<input type=hidden name="env_report" value="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT">
<input type=hidden name="print_blank_fields" value="1">
<input type=hidden name="recipient" value="info@exampledomain.\com">
Please note that the \ in the domains is to further remove teh possibility of bots picking up the addresses.
I have tried using javascript to generate the email address to hide email address from SpamBots:
;<script language="javascript">
var email1 = "whoItisTo";
var email2 = "exampledomain\.com";
document.write("<a href=" + "mail" + "to:" + email1 + "@" + email2 + ">" + linktext + "</a>")
//-->
</script>
The above script works well when an additional line is added [ var linktext = "click here"; ] if I just wanted to post an email address to click on, but I want to collect certain info and need the form.
Also, since some people surf with javascript turned off, I would rather call a cgi program to fill in the recipient address from formmail.
Is this possible?
My other choice is to create a procmail recipe if the email is from whatever_address@exampledomain\.com and the subject is whatever_the_subject then it goes thur, otherwise it gets spam canned.
Suggestions, comments, and help are greatly appreciated.
Thanks in advance.
E.
The NMS FormMail script allows you to substitute aliases for recipient addresses. An example of the aliases inside the Perl script is:
%recipient_alias = ('1' => 'first_recipient@mydomain.net','2' => 'second_recipient@mydomain.net'). In your form you would insert numbers instead of email addresses in the Recipient field(s), as in:
<input type="hidden" name="recipient" value="1">. You can also specify multiple recipients by number, separated by commas, as in: <input type="hidden" name="recipient" value="1,2,3"> IMHO, Wiz
Thanks a lot I will check it out. With the new spam promotion bill that the US congress (remember yin/yang there is pro and there is con) is about to pass, any open email address will be subject to tons of spam forcing you to spend all day opting out of so called "Legitimate" UCE as long as it is not related to sex and viagra they can subscribe you to thier garbage.
That is why I am most anxious to take this preventative measure. Kill all active email accounts, start all new ones and don't post email on the web site.
E.
Good first step. I have some suggestions based on my own fight to preserve Domain addresses for legitimate use. Here are some of them:
I hope this helps. If you need to learn about using .htaccess to block harvesters and other web-exploiters, go to this WebmasterWorld Forum: [webmasterworld.com...] . It has a link at the top of page one to go to the previous discussion named "A close to perfect .htaccess ban list - Part 2," which has a link on its first page to Part 1. Non-paying members cannot go directly to those discussions because they do not have Member login credentials.
Wiz