cancel
Showing results for 
Search instead for 
Did you mean: 

form mail

N/A

form mail

I am trying to set up a form that will email its contents based on the script supplied in the cgi help pages. It works fine, but only when sending to a force 9 address. I need to send to an aol address, but I get an error saying invalid recipient. Here is the code I am using. Can anyone help?

<form method="post" action="http://homepages.force9.net/cgi-bin/form">
<input type="hidden" name="recipient" value="vicevershed@aol.com">

As I said, if that recipient were anything@anything.force9.co.uk it would work fine!
10 REPLIES
N/A

form mail

The script will only allow sending to a force9 email address. This is to prevent the script being used as a spamming tool.
N/A

form mail

I was beginning to suspect that, thanks for the response
N/A

form mail

I take it you don't want to host your own script? Much easier and better to control. If you want to use the pre- written script, how about setting up a mailbox which you can use in the script, then set up a mailbox redirect to the AOL address? Will that work?

Mark
N/A

form mail

I will happily try anything! I run an .asp enabled server if that is of use. However, my skills are extremely limited in the hosting area. (Windows XP, IndigoPerl, SunOne Active Server Pages 4) Its for an enquiry form for a mate who owns a holiday Villa in Malta, and if I can sort him out, I get to use it free! Seems like a good deal to me! Done the site, but now he wants the form, and also (if its possible) an online calendar that he can update from a web interface to mark off days when the villa is booked
N/A

form mail

I moved all of my pages to a Windows server last year and managed to make most of the scripts run too Smiley I did find that the SMTP side of mail delivery was a little too unpredictable though, sometimes it worked, other times!!!

Another alternative, do you have a cgi-bin on your account? If so you could help out a mate like I do and host the formmail script for hime. My friend has an NTL site which just gives the basic webspace, I have helped him by giving him a custom made script to run off my account. Problem solved.

Cheers

Mark
N/A

form mail

now theres where I htt the problem, I dont know how to create the script!
N/A

form mail

I have sent an email to formmail@revdaveb.f9.co.uk with a copy of formmail, you may need to check on webmail for it.

Mark
N/A

form mail

it came in outlook fine, thanks for that
N/A

form mail

Did it work? There are loads of calendar type scripts available too. You could try http://www.hotscripts.com/CGI_and_Perl/Scripts_and_Programs/index.html or http://cgi.resourceindex.com/Programs_and_Scripts/Perl/

Regards

Mark
N/A

form mail

not had a chance to try it yet, up to my ears in college assignments (Even at my advanced age) But will let you know as soon as I have