![]() |
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. |
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'.
|
Thanks Andy. The error is no longer showing but I do not receive any emails in testing.
|
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.
|
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.
|
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.