Default Block "Contact Us" form not sending out email notification

Permalink
Hi everyone,

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...')
#8 {main}
Template Used: block_form_submission
To: scottvos@aol.com
From: you@yourdomain.com
Subject: Contact Us Form Submission
Body:
There has been a submission of the form Contact Us on through your concrete5 website.


The From: you@yourdomain.com 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

Scott

 
adajad replied on at Permalink Best Answer Reply
adajad
What SMTP method are you using (/dashboard/system/mail/method/)?

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
Username: your_address@gmail.com
Password: Your_gmail_password
Encryption: TLS
Port: 587

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.
scottvos replied on at Permalink Reply
adajad
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
adajad replied on at Permalink Reply
adajad
I will read up on the issue tomorrow and get back to you as soon as possible. It's soon 11.30 pm and I need my beauty sleep before making decisions.

You will hear from me again within 10 hours.

Regards
djrodan replied on at Permalink Reply
I ran into the same problem and tried:
-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
djrodan replied on at Permalink Reply
I also just realized the "Notify me by email when people submit this form" option is not working correctly. It will only email the first address, then you will receive a Mail Delivery Subsystem error saying it cannot email to the second. For example:

Entering...

foo@gmail.com, bar@gmail.com

only emails foo@gmail.com and you receive an error mail saying it cannot email bar@gmail.com

and when you enter...

bar@gmail.com, foo@gmail.com

bar will receive the email, and foo will receive an error mail.
rekha replied on at Permalink Reply
Thanx...

I solved my problem
Tato replied on at Permalink Reply
Tato
Hi adajad,

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

MAny thx
pixelmargin replied on at Permalink Reply
pixelmargin
hi

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)