CGIScript.net -- Forums

CGIScript.net -- Forums (http://www.forum.cgiscript.net/index.php)
-   Product Help (http://www.forum.cgiscript.net/forumdisplay.php?f=8)
-   -   csFormbuilder no email (http://www.forum.cgiscript.net/showthread.php?t=963)

EricB 07-27-2011 01:27 PM

csFormbuilder no email
 
I'm receiving the follow error at the top of the results page when a form is submitted:

Error occured while trying to send a mail to localhost


The information is there and the field data is viewable in the control panel and database but no emails are sent. Any help would be great.

contact 07-27-2011 01:42 PM

That usually means there is no longer a SMTP server listening on the local machine. What you'll need to do is edit the setup.cgi file and change the $sendmail variable to reflect a valid SMTP server that your webserver has access to. Right now, its probably set to 'localhost'.

EricB 07-27-2011 03:05 PM

Thanks Andy. The error is no longer showing but I do not receive any emails in testing.

EricB 07-28-2011 02:21 PM

Andy, it's odd this is not working correctly. When you installed it, the tests worked fine. I even tested an additional form with success. At this time the $sendmail was set to localhost.

contact 07-28-2011 02:33 PM

Something must have happened to the local SMTP server. Most likely someone stopped the service. Can you contact your hosting service and ask them why the SMTP server on the localhost is no longer working? If its your personal server then it might be as simple as restarting the SMTP service.

EricB 07-29-2011 02:11 PM

Got it working. The problem was the script was installed in the root rather than a cgi-bin folder. Not sure why it initially worked when it was installed.


All times are GMT. The time now is 01:14 PM.

Powered by: vBulletin Version 3.0.7
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.