Author |
Topic  |
|
taropatch
Average Member
  
USA
741 Posts |
Posted - 23 August 2004 : 13:23:17
|
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
|
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. |
 |
|
taropatch
Average Member
  
USA
741 Posts |
Posted - 08 September 2004 : 11:07:17
|
Can someone suggest an ASP version? |
 |
|
D3mon
Senior Member
   
United Kingdom
1685 Posts |
|
D3mon
Senior Member
   
United Kingdom
1685 Posts |
|
kwhipp
Junior Member
 
United States
407 Posts |
Posted - 08 September 2004 : 12:07:14
|
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 |
 |
|
Classicmotorcycling
Development Team Leader
    
Australia
2085 Posts |
Posted - 09 September 2004 : 17:34:47
|
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 |
 |
|
taropatch
Average Member
  
USA
741 Posts |
Posted - 13 September 2004 : 16:06:22
|
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. |
 |
|
Podge
Support Moderator
    
Ireland
3776 Posts |
|
|
Topic  |
|