Default Block "Contact Us" form not sending out email notification
The contact form on my website does not send the email notifications to me.
The “contact form” is the default used in the Plain Yogert default theme in the newest version of concrete 5. While in edit mode in the “submit” box I checked the box “ notify me by emai and added my address> saved>published,t and then go back to do a trial to no avail. After reading everything I could on this forum I still can’t figure out why its not working after many hours of experimenting and having to have my host completely reset/restore my hosting account because I screwed else up something up. After reading here about going into the dashboard>reports>logs I see this error message:
Mail Exception Occurred. Unable to send mail: Unable to send mail.
#0 /home3/anaheims/public_html/concrete/libraries/3rdparty/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Sendmail->_sendMail()
#1 /home3/anaheims/public_html/concrete/libraries/3rdparty/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
#2 /home3/anaheims/public_html/concrete/helpers/mail.php(349): Zend_Mail->send(NULL)
#3 /home3/anaheims/public_html/concrete/blocks/form/controller.php(405): MailHelper->sendMail()
#4 /home3/anaheims/public_html/concrete/models/block.php(325): FormBlockController->action_submit_form()
#5 /home3/anaheims/public_html/concrete/startup/process.php(325): Block->passThruBlock('submit_form')
#6 /home3/anaheims/public_html/concrete/dispatcher.php(269): require('/home3/anaheims...')
#7 /home3/anaheims/public_html/index.php(2): require('/home3/anaheims...')
Template Used: block_form_submission
Subject: Contact Us Form Submission
There has been a submission of the form Contact Us on through your concrete5 website.
The From: firstname.lastname@example.org doesn’t make any sense to me because I am using a different private email account in the “From” field?? Any help will be much appreciated
If you are using PHP built in, then you need to check your php.ini and make sure everything is as it should in there.
If you are using an external SMTP server, make sure you have the correct settings.
For a gmail account you would use:
Mail Server: smtp.gmail.com
Try with a gmail account of your choosing. If it works with a gmail account then it's the built in mail settings in PHP that has some errors.
thanks for the quick reply. I followed your suggestions but am still missing something. I sent you a message and look forward to your contact.
scottvos at aol dot com
You will hear from me again within 10 hours.
-Viewed the logs and saw that concrete5 was in fact sending the emails.
-added a default email address to site.php
Neither of these worked, so I'm assuming it is a problem within my PHP settings and my host. My host runs PHP 5.2. I contacting them to see what they suggest. I am also going to switch to PHP 5.3 and see if that fixes it.
For now, I followed adajad's suggestion of just using gmail
only emails email@example.com and you receive an error mail saying it cannot email firstname.lastname@example.org
and when you enter...
bar will receive the email, and foo will receive an error mail.
I solved my problem
I got the same problem with the Contact us form. I did all settings which you have proposed ( for gmail ), but the email notifications are not coming.
Could you kindly check the website:http://frg-oy.com/, please?
My user name is Ta To
did you check spam folders? if spam folders showing it then check the mail details and find out whats set in FROM field. if that email doesn't exist try to change root admin email with a valid one. (in case you set different mail on the form block options)