Form Emails Not Sending
Permalink
Greetings,
I have the need to publish forms on my site for people to fill out. I've selected in the block for the form editor to email the form data to a certain user, however, the forms are not being emailed. Looking through the logs, I notice that whenever the forms try to send email, I get this error:
We're self hosting on a server running ubuntu 11.04. Emailing form data has never worked. After doing some research, I figured we were probably missing a mail server program on the server, so I installed postfix. In all honesty, postfix is probably not configured right. Before I go crazy trying to figure out what's misconfigured with postfix, I decided to ask y'all and see if there might be something else going on.
This is our environment:
Am I missing a php extension? Do I need to somehow tell Concrete5 to use postfix instead of zendmail? Where would I fix that?
I should mention, the form does collect the data, but I don't want to have to remember to check if someone filled out the form. I want it to email the form data to the appropriate user automatically.
Any help is greatly appreciated.
Thanks!
Rafael
I have the need to publish forms on my site for people to fill out. I've selected in the block for the form editor to email the form data to a certain user, however, the forms are not being emailed. Looking through the logs, I notice that whenever the forms try to send email, I get this error:
Mail Exception Occurred. Unable to send mail: Could not open socket #0 /var/www/updates/concrete5.4.2/concrete/libraries/3rdparty/Zend/Mail/Protocol/Smtp.php(167): Zend_Mail_Protocol_Abstract->_connect('ssl://mail.hays...') #1 /var/www/updates/concrete5.4.2/concrete/libraries/3rdparty/Zend/Mail/Transport/Smtp.php(199): Zend_Mail_Protocol_Smtp->connect() #2 /var/www/updates/concrete5.4.2/concrete/libraries/3rdparty/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Smtp->_sendMail() #3 /var/www/updates/concrete5.4.2/concrete/libraries/3rdparty/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail)) #4 /var/www/updates/concrete5.4.2/concrete/helpers/mail.php(229): Zend_Mail->send(Object(Zend_Mail_Transport_Smtp)) #5 /var/www/updates/concrete5.4.2/concrete/blocks/form/controller.php(349): MailHelper->sendMail() #6 [internal function]: FormBlockController->action_submit_form() #7 /var/www/updates/concrete5.4.2/concrete/models/block.php(324): call_user_func_array(Array, Array) #8 /var/www/updates/concrete5.4.2/concrete/startup/process.php(252): Block->passThruBlock('submit_form') #9 /var/www/updates/concrete5.4.2/concrete/dispatcher.php(249): require('/var/www/update...') #10 /var/www/concrete/startup/updated_core_check.php(6): require('/var/www/update...') #11 /var/www/concrete/dispatcher.php(14): require('/var/www/concre...') #12 /var/www/index.php(2): require('/var/www/concre...') #13 {main}
We're self hosting on a server running ubuntu 11.04. Emailing form data has never worked. After doing some research, I figured we were probably missing a mail server program on the server, so I installed postfix. In all honesty, postfix is probably not configured right. Before I go crazy trying to figure out what's misconfigured with postfix, I decided to ask y'all and see if there might be something else going on.
This is our environment:
# concrete5 Version 5.4.2 # concrete5 Packages Add Multiple Pages (1.2), Contact Directory (1.0.2), Document Library (1.5.2.2), Email Obfuscator (2.0), Fancy Ajax google search functionality (1.0), Google Map (Premium) (2.0.1), Iframe (1.0), Multi Url Site (1.0.2), Pro Events (4.0.8), Randomizer (1.2.2), SCALA IT Optimize MySQL database (1.0), SimpleNews (4.2.6), Sitemap Extention (0.3), Social Icons (1.1), tnSpacer (1.2). # concrete5 Overrides blocks/search, blocks/autonav, jobs/index_search.php, jobs/si_mysql_optimize.php, themes/hayscounty # Server Software Apache/2.2.17 (Ubuntu) # Server API apache2handler # PHP Version 5.3.5-1ubuntu7.2 # PHP Extensions apache2handler, bcmath, bz2, calendar, Core, ctype, date, dba, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, json, libxml, mbstring, mhash, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, Phar, posix, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, zip, zlib.
Am I missing a php extension? Do I need to somehow tell Concrete5 to use postfix instead of zendmail? Where would I fix that?
I should mention, the form does collect the data, but I don't want to have to remember to check if someone filled out the form. I want it to email the form data to the appropriate user automatically.
Any help is greatly appreciated.
Thanks!
Rafael