VISIT STORE RECOMMEND US LINK TO US CONTACT US INDUSTRY NEWS Visit our Home Page Image hosted by Photobucket.com

Go Back   CGIScript.net -- Forums > CGIscript Discussion > Product Help
User Name
Password


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-27-2011, 02:27 PM
EricB EricB is offline
Junior Member
 
Join Date: Sep 2007
Posts: 7
Default 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.
Reply With Quote
  #2  
Old 07-27-2011, 02:42 PM
contact contact is offline
Administrator
 
Join Date: May 2005
Posts: 354
Default

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'.
__________________
Andy Angrick
http://www.cgiscript.net
"Automate Your Website for Less!"
Reply With Quote
  #3  
Old 07-27-2011, 04:05 PM
EricB EricB is offline
Junior Member
 
Join Date: Sep 2007
Posts: 7
Default

Thanks Andy. The error is no longer showing but I do not receive any emails in testing.
Reply With Quote
  #4  
Old 07-28-2011, 03:21 PM
EricB EricB is offline
Junior Member
 
Join Date: Sep 2007
Posts: 7
Default

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.
Reply With Quote
  #5  
Old 07-28-2011, 03:33 PM
contact contact is offline
Administrator
 
Join Date: May 2005
Posts: 354
Default

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.
__________________
Andy Angrick
http://www.cgiscript.net
"Automate Your Website for Less!"
Reply With Quote
  #6  
Old 07-29-2011, 03:11 PM
EricB EricB is offline
Junior Member
 
Join Date: Sep 2007
Posts: 7
Default

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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



All times are GMT. The time now is 07:59 AM.


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