PDA

View Full Version : --------------- Formmail.pl please help!



roots
January 5th, 2005, 09:22
I am hoping there is 1 or 2 people out there who are fairly satisfied with streamline's service.

I have set up a simple test form (http://www.squashgear.co.uk/form1.htm) which uses http://www.squashgear.co.uk/cgi-bin/form1.pl which is pretty much the default formmail.pl supplied bt Matt's Archive with the standard modifications.

Unfortunately all seems to work fine in as much as the "Thank You" page is displayed after submitting the form but the email's never arrive.

I have the sendmail set to /usr/sbin/sendmail -i -t

@referers = ('www.squashgear.co.uk','212.56.67.217');

@recipients = &fill_recipients('squashgear.co.uk');

There are no errors reported in the error log.

Can anyone supply me a copy of formmail.pl that is currently working on a --------------- hosted website and perhaps confirm that my very simple form page should work?

Thanks,
Michael

jwk
January 27th, 2005, 01:57
I have the same problem on a Streamline site.
I have asked their support to confirm that /usr/sbin/sendmail is the correct path, which they have. (Without offering any helpful advice, however).

Have you managed to solve this?
[I tried to contact you via squashgear - hope it wasn't inappropriate.]

PC Repairs Direct
March 17th, 2007, 10:07
Hi,

Streamline has both windows and linux servers. The sendmail will only work if your domain is being hosted from their linux server. If your CGI script is fine but no emails are being sent then it means you are currently being hosted from their windows server. You will need to get in touch with them and ask them to switch you over to linux. This should then rectify the problem.

If in the future you require any computer software/hardware support please take a look at the service we offer at www.pcrepairsdirect.co.uk (http://www.pcrepairsdirect.co.uk)

Hope you get this problem sorted,

Best regards,

PC Repairs Direct

krakjoe
March 18th, 2007, 11:45
That script is not on a linux server, if apache were serving that request you would get a 505 / 500 error page, that's IIS and so is on windows, I would suggest using php as most IIS environments can still use its mail() function as php.ini allows you to specify the pop / smtp server to use to send mails without the use of the sendmail program.

themoose
March 18th, 2007, 12:04
PHP mail is much easier. Have a look at:
http://uk2.php.net/manual/en/ref.mail.php
for documentation
and
http://uk2.php.net/manual/en/function.mail.php
for examples.

If you need more help just ask :).