Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 Formmail with anti-Spam
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

taropatch
Average Member

USA
741 Posts

Posted - 23 August 2004 :  13:23:17  Show Profile
I'd like to add an email form to my site but using a formmail script that does not allow SPAM harvesters to get my email.

Any advice or ideas? I asked support and they told me...
quote:
We offer 2 different formmail scripts through our knowledge base, one for Perl and one for php. These can be found at http://www.webcontrolcenter.com/Knowledge_Base/frmKB.aspx?KBID=171 and http://www.webcontrolcenter.com/Knowledge_Base/frmKB.aspx?KBID=534.

Note that there is still a chance these can be harvested for spam, as the recipient email address is specified in a hidden field in the form. You could modify either of them to avoid this, other than that I can't think of anything to recommend.

Please contact us again if you have any further questions.
I am not sure what I need to "modify". Any help would be greatly appreciated.

Podge
Support Moderator

Ireland
3776 Posts

Posted - 23 August 2004 :  14:12:16  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
If you host supports Perl, then I would recommend the Perl version above. The php version requires your email address to be included in a hidden form field. This means that if someone wanted to get your email address they could do so by viewing the source. Email address harvesting bots could also retrieve it.

The documentation along with the Perl version is extensive and only requires a few simple modifications to get it to work.

If you're running Snitz, why don't you use an ASP version?

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

taropatch
Average Member

USA
741 Posts

Posted - 08 September 2004 :  11:07:17  Show Profile
Can someone suggest an ASP version?
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 08 September 2004 :  11:38:48  Show Profile  Visit D3mon's Homepage
http://www.brainjar.com/asp/formmail/


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 08 September 2004 :  11:40:28  Show Profile  Visit D3mon's Homepage
omit this line
<input name="_recipients" type="hidden" value="support@example.net" />

in your client-side form and hardcode the recipient(s) in formmail.asp


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"
Go to Top of Page

kwhipp
Junior Member

United States
407 Posts

Posted - 08 September 2004 :  12:07:14  Show Profile
The file D3mon suggests is the one I have been using for a while. It works wonderfully. I've hacked it up to allow recipient variables that can be chosen in a drop down. Meanwhile, the email addresses that are associated with the variables hardcoded in the formmail.asp page.

If you like, I can send you what I have done.

- Kevin
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2085 Posts

Posted - 09 September 2004 :  17:34:47  Show Profile
I have a created a contact form in PHP where it calls on another form to process the data and with just the first part of the e-mail address like so:

<form action="contact_sent.php" method="POST" onsubmit="return Validator(this);">

(other data)

<select class="text2" name="directed">
<option value="">Please Select</option>
<option value="sales">Sales</option>
<option value="spares">Spare Parts</option>
<option value="info">Enquiry</option>
</select>

(other data)

</form>


The processing form has a heap of stuff in it, but only has this that refeers to e-mail:

$recipient = "$_POST[directed]@domainname.com";


I have checked and there is no way of getting the domain name from the form. I can send you the php forms I use, or ASP forms I use which are differnt again, but there is again no way of getting the e-mails from these forms.

Go to my site to send me an e-mail at http://www.classicmotorcycling.com.au/default.asp?cat=contactus and I will forward on the forms if you want.

Cheers,

David Greening
Go to Top of Page

taropatch
Average Member

USA
741 Posts

Posted - 13 September 2004 :  16:06:22  Show Profile
David (Classicmotorcycling) - thanks for your offer.

Kevin (kwhipp) was also kind enough to share his code. I decided to go with his since it's ASP and I think will work better on the Windows server. It also has a drop down menu so the user can direct who to send the email. So far it's working great. Thanks to Kevin also for helping me get the form working properly.
Go to Top of Page

Podge
Support Moderator

Ireland
3776 Posts

Posted - 13 September 2004 :  17:24:17  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
This is without a doubt the coolest free mailing list manager there is on Windows.

http://www.tassietek.com/mailerfree/default.asp

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.33 seconds. Powered By: Snitz Forums 2000 Version 3.4.07