I set up a contact form (using the freeform module) for a client and it was working perfectly before the site went live (I was testing up on a dev server). It was recording the form submission in the database and sending out an email to a specified address with the form contents. Now we are live all hell has broken loose. When the form is submitted, this is what appears instead of the redirect to a thankyou page:
Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /home/green/webapps/htdocs/admin/core/core.email.php on line 1310
Warning: fsockopen() [function.fsockopen]: unable to connect to smtp5.webfaction.com:25 (Unknown error) in /home/green/webapps/htdocs/admin/core/core.email.php on line 1310
Warning: fwrite(): supplied argument is not a valid stream resource in /home/green/webapps/htdocs/admin/core/core.email.php on line 1455
Warning: fgets(): supplied argument is not a valid stream resource in /home/green/webapps/htdocs/admin/core/core.email.php on line 1476
Warning: fwrite(): supplied argument is not a valid stream resource in /home/green/webapps/htdocs/admin/core/core.email.php on line 1455
Warning: fgets(): supplied argument is not a valid stream resource in /home/green/webapps/htdocs/admin/core/core.email.php on line 1476
Warning: fwrite(): supplied argument is not a valid stream resource in /home/green/webapps/htdocs/admin/core/core.email.php on line 1455
Warning: fgets(): supplied argument is not a valid stream resource in /home/green/webapps/htdocs/admin/core/core.email.php on line 1476
Warning: fwrite(): supplied argument is not a valid stream resource in /home/green/webapps/htdocs/admin/core/core.email.php on line 1455
Warning: fgets(): supplied argument is not a valid stream resource in /home/green/webapps/htdocs/admin/core/core.email.php on line 1476
Warning: fwrite(): supplied argument is not a valid stream resource in /home/green/webapps/htdocs/admin/core/core.email.php on line 1455
Warning: fwrite(): supplied argument is not a valid stream resource in /home/green/webapps/htdocs/admin/core/core.email.php on line 1455
Warning: fgets(): supplied argument is not a valid stream resource in /home/green/webapps/htdocs/admin/core/core.email.php on line 1476
Warning: Cannot modify header information - headers already sent by (output started at /home/green/webapps/htdocs/admin/core/core.email.php:1310) in /home/green/webapps/htdocs/admin/core/core.functions.php on line 296
It seems like my cp email details are screwed up. The form contents still get submitted to the database and they can be viewed in the control panel (thank god!). I have checked my smtp username and password and I am pretty sure they are correct. I am getting pretty frustrated and I think my client is having a nervous breakdown.
Please any help would be greatly appreciated.