Form won't send email
Permalink
I have a basic form on my website. People can fill it out and submit it, no problem. Then it's supposed to send me an email with the form response, but the email never gets sent. The log informs me of the following error:
Mail Exception Occurred. Unable to send mail: Unable to send mail
#0 /home/overeasy/public_html/happymediumpdx.com/massage/concrete/libraries/3rdparty/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Sendmail->_sendMail()
#1 /home/overeasy/public_html/happymediumpdx.com/massage/concrete/libraries/3rdparty/Zend/Mail.php(973): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
#2 /home/overeasy/public_html/happymediumpdx.com/massage/concrete/helpers/mail.php(191): Zend_Mail->send(NULL)
#3 /home/overeasy/public_html/happymediumpdx.com/massage/concrete/blocks/form/controller.php(335): MailHelper->sendMail()
#4 /home/overeasy/public_html/happymediumpdx.com/massage/concrete/models/block.php(276): FormBlockController->action_submit_form()
#5 /home/overeasy/public_html/happymediumpdx.com/massage/concrete/startup/process.php(214): Block->passThruBlock(Array, Array)
#6 /home/overeasy/public_html/happymediumpdx.com/massage/concrete/dispatcher.php(226): require('/home/overeasy/...')
#7 /home/overeasy/public_html/happymediumpdx.com/massage/index.php(2): require('/home/overeasy/...')
#8 {main}
Of course, I have no idea what this means. I'm running 5.4.1, and the forms definitely worked just fine for the first few months that my website was running, and then stopped working for some inexplicable reason. Help!
Mail Exception Occurred. Unable to send mail: Unable to send mail
#0 /home/overeasy/public_html/happymediumpdx.com/massage/concrete/libraries/3rdparty/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Sendmail->_sendMail()
#1 /home/overeasy/public_html/happymediumpdx.com/massage/concrete/libraries/3rdparty/Zend/Mail.php(973): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
#2 /home/overeasy/public_html/happymediumpdx.com/massage/concrete/helpers/mail.php(191): Zend_Mail->send(NULL)
#3 /home/overeasy/public_html/happymediumpdx.com/massage/concrete/blocks/form/controller.php(335): MailHelper->sendMail()
#4 /home/overeasy/public_html/happymediumpdx.com/massage/concrete/models/block.php(276): FormBlockController->action_submit_form()
#5 /home/overeasy/public_html/happymediumpdx.com/massage/concrete/startup/process.php(214): Block->passThruBlock(Array, Array)
#6 /home/overeasy/public_html/happymediumpdx.com/massage/concrete/dispatcher.php(226): require('/home/overeasy/...')
#7 /home/overeasy/public_html/happymediumpdx.com/massage/index.php(2): require('/home/overeasy/...')
#8 {main}
Of course, I have no idea what this means. I'm running 5.4.1, and the forms definitely worked just fine for the first few months that my website was running, and then stopped working for some inexplicable reason. Help!
I agree with guythomas. If you're certain you (or anyone else) hasn't changed anything related to the mail functions, it probably wouldn't hurt to contact your webhost about this issue.
A current client of mine too had this mysterious sendmail failure recently even though everything had been working fine even after the recent C5 upgrade. We shot an email to their webhost and discovered that their host had been retweaking a lot of the PHP security behind the scenes which somehow nixed PHP mail functions, not just for C5 but for other software like Prestashop. Luckily, everything was fixed shortly.
A current client of mine too had this mysterious sendmail failure recently even though everything had been working fine even after the recent C5 upgrade. We shot an email to their webhost and discovered that their host had been retweaking a lot of the PHP security behind the scenes which somehow nixed PHP mail functions, not just for C5 but for other software like Prestashop. Luckily, everything was fixed shortly.
Thanks! I've contacted my webhost to see if they can clear this up. I'll report back soon.
My webhost recommended changing to SMTP, which brought up some other problems, but now it's fixed! Thanks for your help!
Let me know if your need more clarification.