Not receiving email from Form submissions

Permalink 3 users found helpful
I have set up a 'Contact us' form submission. Set up the email address correctly which is a yahoo email address.

I am using bluehost and it is php compatible.

Can you tell me what I'm missing and why I am not receiving notifications when I receive a form submission.

I have searched for answers and it seems as others have had this problem but I can not find an answer to my problem.

View Replies:
chunksmurray replied on at Permalink Reply
chunksmurray
First thing to check is the Concrete5 logs, see if the emails are actually being sent. Go to Dashboard > Reports > Logs and check if you have entries stating that emails have been sent. If there are any errors, post them back here.

If the logs say the emails are being sent, I would check your junk mail just in case the emails are being treated a spam. Sounds stupid but just double check the form settings i.e email addy etc. I'm sure you've already done this a few times!

Also might be worth shooting Bluehost an email and seeing if they have anything to add.

What versions of concrete5 are you running?
2sisters replied on at Permalink Reply
Thanks, for your response. I am using
version 5.4.0.3. I checked the logs and I don't see any errors, it says


**EMAILS ARE ENABLED. THIS EMAIL WAS SENT TO mail()**

Template Used: block_form_submission

To: the email address I set up when I set up the form. FYI I checked and the email I entered is correct

From: [email protected]

Subject: Contact us Form Submission
Body:
There has been a submission of the form Contact us on through your Concrete5 website.

It is not in my spam folder either.

Where it says 'FROM:' [email protected]
Is there something I need to set there?

Thanks for your help.
glockops replied on at Permalink Reply
glockops
You may want to try setting up an email account on your server and then configuring it to work with concrete5.

First you'll need the account created through your web host (you should be able to do this in some sort of host control panel)

Then in the concrete5 dashboard go to Settings -> Email and choose "External SMTP Server", enter your server information (again, you should be able to find this through your webhost control panel or by asking your webhost).
dreamslikefire replied on at Permalink Reply 1 Attachment
How exactly do you get to the email settings? Nowhere in the dashboard do I see that option. I only have "Sitewide Settings" and nothing for email is in that section.
cannonf700 replied on at Permalink Reply
cannonf700
You set the email option in the actual form block itself. Go to the page with the block on it. Edit page/Edit block. In the forms dialogue box there are several tabs. the last tab reads, "options" click it. check the box that says 'notify by email' and then enter the email you want the notification to go to.

simple as that!
tomhallez replied on at Permalink Reply
Hi,

None of these work for me. I also have a fully working guestbook but this doesn't work. Any ideas?
thephilm replied on at Permalink Reply
thephilm
I know GMail has an issue if the sending and receiving email address are the same.
May want to double check your from address, and see if that helps.
frz replied on at Permalink Reply
frz
1) make sure you can actually get mail from your server. Use the forgot password form on the bottom of the login page. If you don't get an email one of two things is happening:
a) your server is misconfigured and mail simply isn't going out.
b) your mail client is putting the message in a spam folder. Check your spam.

2) make sure your MX records are right. Sometimes you might host a website on a server and have your mail pointed to a different server (typically if you run Microsoft Exchange this is happening). If that's the case, sometimes the webserver was never told that mail for that domain actually sits somewhere else, and it assumes it can send it to itself. If that's going you you may need to update the DNS records for your webserver to teach it where mail should really be going.

3) Check the options of the block in question. The form block and guestbook blocks only send mail messages when you tell them to by editing options.
chameleon replied on at Permalink Reply
Hi All -
I know this post is quit old, but I am having an issue with the form and found this post... to comment to frz - what do you do if your server is pushing email?

here's my scenario:
- concrete 5.4.1.1
- client website is hosted at blue host
- mx records point to another server & are managed through networksolutions
- began with >Sitewide setting> email> DEFAULT PHP MAIL FUNCTION

I created a form from the supplied block, in the options tab I checked "Notify me by email when people submit this form" and entered my email below.

logged out, went to the form, competed it & submitted.
Got the conformation message that the email had been sent.

problem - i never receive the email.

___________________________________________
error log message:

Mail Exception Occurred. Unable to send mail: Unable to send mail
#0 /home4/teastern/public_html/eastern/concrete/libraries/3rdparty/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Sendmail->_sendMail()
#1 /home4/teastern/public_html/eastern/concrete/libraries/3rdparty/Zend/Mail.php(973): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
#2 /home4/teastern/public_html/eastern/concrete/helpers/mail.php(227): Zend_Mail->send(NULL)
#3 /home4/teastern/public_html/eastern/concrete/blocks/form/controller.php(340): MailHelper->sendMail()
#4 /home4/teastern/public_html/eastern/concrete/models/block.php(283): FormBlockController->action_submit_form()
#5 /home4/teastern/public_html/eastern/concrete/startup/process.php(223): Block->passThruBlock(Array, Array)
#6 /home4/teastern/public_html/eastern/concrete/dispatcher.php(235): require('/home4/teastern...')
#7 /home4/teastern/public_html/eastern/index.php(2): require('/home4/teastern...')
#8 {main}
___________________________________________


Trouble shooting I have done:
1. As suggested above, I went to the login page and hit forgot password - within seconds I had a message in my inbox with instructions on how to change my password.
2. I tried entering my smtp information that i use in outlook for the external SMTP Server. Again attempted to submit a form. Still no message got to me & the error changed to this?
___________________________________________

error message2:
Mail Exception Occurred. Unable to send mail: Connection timed out
#0 /home4/teastern/public_html/eastern/concrete/libraries/3rdparty/Zend/Mail/Protocol/Smtp.php(167): Zend_Mail_Protocol_Abstract->_connect('tcp://smtp.gmai...')
#1 /home4/teastern/public_html/eastern/concrete/libraries/3rdparty/Zend/Mail/Transport/Smtp.php(195): Zend_Mail_Protocol_Smtp->connect()
#2 /home4/teastern/public_html/eastern/concrete/libraries/3rdparty/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Smtp->_sendMail()
#3 /home4/teastern/public_html/eastern/concrete/libraries/3rdparty/Zend/Mail.php(973): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
#4 /home4/teastern/public_html/eastern/concrete/helpers/mail.php(227): Zend_Mail->send(Object(Zend_Mail_Transport_Smtp))
#5 /home4/teastern/public_html/eastern/concrete/blocks/form/controller.php(340): MailHelper->sendMail()
#6 /home4/teastern/public_html/eastern/concrete/models/block.php(283): FormBlockController->action_submit_form()
#7 /home4/teastern/public_html/eastern/concrete/startup/process.php(223): Block->passThruBlock(Array, Array)
#8 /home4/teastern/public_html/eastern/concrete/dispatcher.php(235): require('/home4/teastern...')
#9 /home4/teastern/public_html/eastern/index.php(2): require('/home4/teastern...')
#10 {main}
___________________________________________

CAN ANYONE PLEASE HELP!!
I don't know how to decipher these error codes and make any sense of them.

thanks!
TheRealSean replied on at Permalink Reply
TheRealSean
I cant decipher the problem but I have come across two instances now where Emails have not been received.

Possible 1-
The host was blocking all other emails that where not hosted by them or a reputable email company,

ie say host was bighost.com, they would only allow emails sent from
[email protected] and not allow [email protected], I could send it to my gmail account though?

So try sending to your email account from your email account, its normally set as being the super admin user. So this may need tweaking in the form controller.

Possible 2, Domain Aliases - we had a domain which was an alias of a site we had running the Domain had mail turned on which in turn enabled the mail server for the alias.

The alias although being hosted by us had a separate mail server which seemed to confuse the server and mail delivery failed.

I am aware that second option is quite complex and had me stumped for two weeks while trying to resolve it.
chameleon replied on at Permalink Reply
Hey there -
Thanks for the tips.

It ended up being a check box on the server that I would never have found myself.

Had to go to the MX Entry in the control panel & edit the MX Email Routing to be "Remote Mail Exchanger" from Automatically Detect. and vou la everything worked as expected.
twomoons replied on at Permalink Reply
twomoons
Thanks million chemelon. You saved my life! I also had the same problem and I went to MX Entry from my cpanel, and it worked!
chameleon replied on at Permalink Reply
Glad I could help!! This one had me stumped for a few days... always happy if I can keep someone from the agony of the freaking check box scenario :)
NoobDesigner replied on at Permalink Reply
hey chameleon, when you say you accessed the server control panel, how exactly did you do that lol? stupid question probably but I'm just working on a C5 website for my dad and he has only given me access to login to C5 and edit, no server details or information. will I need this if I want try the same fix you used to get your emails working?

email from form not sending, check logs it's all there and emails are correct, not found in spam.

trying to access server control panel :S

cheers ne one
chameleon replied on at Permalink Reply
Hey there -
in my case the MX records were handled through Network solutions, so I had to login to the associated network solutions account and go into that control panel and drill down to the MX settings.

hope that helps
chameleon replied on at Permalink Reply
So - to actually answer your question, yes. You will need to get more information from your dad. Find out where he is hosting his site & who is handling his mail.
asaucier replied on at Permalink Reply
asaucier
Solved my big headache, too - thanks!
clareforndran replied on at Permalink Reply
Lifesaver!!!!! Thank you!!! :)
vivavisual replied on at Permalink Reply
vivavisual
Frz! I am having this issue:

1. Cannot receive emails trought Outlook thar are host by Google service.
2. Then I've tested:
Forms results are showing well on dashboard. All the tests are there.
Set to send form's emails to a personal gmail account and I got them right.
McArtney82 replied on at Permalink Reply
I am having the same issue, did you find a fix yet? My client isn't receiving the notifications but my personal (GMail) account is.
madeforspace replied on at Permalink Reply
madeforspace
I guess you and your gmail account are registered as the Super Admin account.
If you change the email address in your account to that of your client then they should receive the mails instead of you.
McArtney82 replied on at Permalink Reply
Thanks for the advice, but nope wasn't my GMail registered as the super admin it was the client's email. I've set the form up to email the client and me, I can see in the notification emails my address and the client's address in the "TO" field but the client isn't getting anything. Is it maybe an issue with the default PHP mail function being used in the form block?
madeforspace replied on at Permalink Reply
madeforspace
You should be able to see the mail in your Reports section of your Dashboard, that should show who the mail was sent to.

If the address of your client is shown in the report then you may want to check if the mail has ended up in a Spam folder or blocked somewhere down the line.
McArtney82 replied on at Permalink Reply
Thanks again for the reply, yep report show's clients email address and I've had the client check spam / junk several times. It's just stumped me and now it's happening with a second client (some web host) and I'm at a loss as to how to fix this
madeforspace replied on at Permalink Reply
madeforspace
Just as a test, change the clients email address to another that you have access to (with a different domain address) and see if mails reach that second email account.

If that mail works then you have eliminated the problem from being either your C5 install or your hosting blocking outgoing mails and the original mails could be jammed up on your clients server or zapped by Spam Assassin or similar on the clients hosting.

Do you have access to your clients hosting control panel? If you do there may be an option to view a sent summary or mail queue.
McArtney82 replied on at Permalink Reply
Yep goes to a number of different addresses just not the clients. I'm accessing their mail host now to see if I can find anything, thanks for your help and will keep you posted so anyone else reading this in the future can benefit
TheRealSean replied on at Permalink Reply
TheRealSean
Check the following comment above, its possible that the clients domain is preventing email being sent to it, if the reports are showing the mail has been sent then it is your clients mail hots that are blocking the mail.

http://www.concrete5.org/community/forums/usage/not-receiving-email...

try sending an email with your clients email as the sent from email address?

Also try adding more content to the email, its possible(not likely) that the client treats small amount of text as a spam and just rejecting it out right?