Not receiving emails from conversation block
Permalink
We have developed a blog as part of our Concrete 5 5.7.5.3 site and used the Conversation block for blog post commenting. Comments post just fine, but I never receive the emails informing me that a comment or reply has been left. To ensure that my server was allowing emails, I used the "Forgot Password" feature on the login screen. I received that email just fine.
When I check the log after posting a comment, there is an entry saying that the mail was sent, but it is immediately followed by an additional entry (Channel: exception) with an error message that says:
---
Mail Exception Occurred. Unable to send mail: Unable to send mail: Unknown error
#0 [internal function]: Zend\Mail\Transport\Sendmail->mailHandler('lmestep@gmail.c...', '=?UTF-8?Q?New=2...', 'Lindsey has pos...', 'Date: Mon, 25 J...', ' -f concrete5-n...')
#1 /home1/sycamov4/public_html/concrete/vendor/zendframework/zend-mail/src/Transport/Sendmail.php(139): call_user_func(Array, 'lmestep@gmail.c...', '=?UTF-8?Q?New=2...', 'Lindsey has pos...', 'Date: Mon, 25 J...', ' -f concrete5-n...')
#2 /home1/sycamov4/public_html/concrete/src/Mail/Service.php(497): Zend\Mail\Transport\Sendmail->send(Object(Zend\Mail\Message))
#3 /home1/sycamov4/public_html/concrete/src/Conversation/Message/Message.php(427): Concrete\Core\Mail\Service->sendMail()
#4 /home1/sycamov4/public_html/concrete/tools/conversations/add_message.php(99): Concrete\Core\Conversation\Message\Message::add(Object(Concrete\Core\Conversation\Conversation), Object(Concrete\Core\Conversation\Message\Author), NULL, 'This is the fir...', NULL)
#5 /home1/sycamov4/public_html/concrete/src/View/View.php(181): include('/home1/sycamov4...')
#6 /home1/sycamov4/public_html/concrete/src/View/AbstractView.php(123): Concrete\Core\View\View->renderViewContents(Array)
#7 /home1/sycamov4/public_html/concrete/src/Routing/ControllerRouteCallback.php(37): Concrete\Core\View\AbstractView->render()
#8 /home1/sycamov4/public_html/concrete/src/Routing/Router.php(115): Concrete\Core\Routing\ControllerRouteCallback->execute(Object(Concrete\Core\Http\Request), Object(Concrete\Core\Routing\Route), Array)
#9 /home1/sycamov4/public_html/concrete/src/Support/Facade/Facade.php(119): Concrete\Core\Routing\Router->execute(Object(Concrete\Core\Routing\Route), Array)
#10 /home1/sycamov4/public_html/concrete/src/Application/Application.php(392): Concrete\Core\Support\Facade\Facade::__callStatic('execute', Array)
#11 /home1/sycamov4/public_html/concrete/src/Application/Application.php(392): Concrete\Core\Support\Facade\Route::execute(Object(Concrete\Core\Routing\Route), Array)
#12 /home1/sycamov4/public_html/concrete/bootstrap/start.php(331): Concrete\Core\Application\Application->dispatch(Object(Concrete\Core\Http\Request))
#13 /home1/sycamov4/public_html/concrete/dispatcher.php(36): require('/home1/sycamov4...')
#14 /home1/sycamov4/public_html/index.php(2): require('/home1/sycamov4...')
#15 {main}
Template Used: new_conversation_message
To: lmestep@gmail.com
From: concrete5-noreply@sycamorecreekfarmwv.com
Reply-To:
Subject: New Message on Conversation: Test Post
Body:
Lindsey has posted a new message to the conversation "Test Post":
This is the first comment.
You can view the whole conversation at
http://sycamorecreekfarmwv.com/index.php/blog/test-post...
---
Can anybody help point me in the direction of what I might do to fix this problem so that I can receive emails any time a comment is left on the blog??
Thanks!
When I check the log after posting a comment, there is an entry saying that the mail was sent, but it is immediately followed by an additional entry (Channel: exception) with an error message that says:
---
Mail Exception Occurred. Unable to send mail: Unable to send mail: Unknown error
#0 [internal function]: Zend\Mail\Transport\Sendmail->mailHandler('lmestep@gmail.c...', '=?UTF-8?Q?New=2...', 'Lindsey has pos...', 'Date: Mon, 25 J...', ' -f concrete5-n...')
#1 /home1/sycamov4/public_html/concrete/vendor/zendframework/zend-mail/src/Transport/Sendmail.php(139): call_user_func(Array, 'lmestep@gmail.c...', '=?UTF-8?Q?New=2...', 'Lindsey has pos...', 'Date: Mon, 25 J...', ' -f concrete5-n...')
#2 /home1/sycamov4/public_html/concrete/src/Mail/Service.php(497): Zend\Mail\Transport\Sendmail->send(Object(Zend\Mail\Message))
#3 /home1/sycamov4/public_html/concrete/src/Conversation/Message/Message.php(427): Concrete\Core\Mail\Service->sendMail()
#4 /home1/sycamov4/public_html/concrete/tools/conversations/add_message.php(99): Concrete\Core\Conversation\Message\Message::add(Object(Concrete\Core\Conversation\Conversation), Object(Concrete\Core\Conversation\Message\Author), NULL, 'This is the fir...', NULL)
#5 /home1/sycamov4/public_html/concrete/src/View/View.php(181): include('/home1/sycamov4...')
#6 /home1/sycamov4/public_html/concrete/src/View/AbstractView.php(123): Concrete\Core\View\View->renderViewContents(Array)
#7 /home1/sycamov4/public_html/concrete/src/Routing/ControllerRouteCallback.php(37): Concrete\Core\View\AbstractView->render()
#8 /home1/sycamov4/public_html/concrete/src/Routing/Router.php(115): Concrete\Core\Routing\ControllerRouteCallback->execute(Object(Concrete\Core\Http\Request), Object(Concrete\Core\Routing\Route), Array)
#9 /home1/sycamov4/public_html/concrete/src/Support/Facade/Facade.php(119): Concrete\Core\Routing\Router->execute(Object(Concrete\Core\Routing\Route), Array)
#10 /home1/sycamov4/public_html/concrete/src/Application/Application.php(392): Concrete\Core\Support\Facade\Facade::__callStatic('execute', Array)
#11 /home1/sycamov4/public_html/concrete/src/Application/Application.php(392): Concrete\Core\Support\Facade\Route::execute(Object(Concrete\Core\Routing\Route), Array)
#12 /home1/sycamov4/public_html/concrete/bootstrap/start.php(331): Concrete\Core\Application\Application->dispatch(Object(Concrete\Core\Http\Request))
#13 /home1/sycamov4/public_html/concrete/dispatcher.php(36): require('/home1/sycamov4...')
#14 /home1/sycamov4/public_html/index.php(2): require('/home1/sycamov4...')
#15 {main}
Template Used: new_conversation_message
To: lmestep@gmail.com
From: concrete5-noreply@sycamorecreekfarmwv.com
Reply-To:
Subject: New Message on Conversation: Test Post
Body:
Lindsey has posted a new message to the conversation "Test Post":
This is the first comment.
You can view the whole conversation at
http://sycamorecreekfarmwv.com/index.php/blog/test-post...
---
Can anybody help point me in the direction of what I might do to fix this problem so that I can receive emails any time a comment is left on the blog??
Thanks!
The question was originally about the C5 conversations block. However I tried everything I could to figure out why the emails were not sending (including rebuilding the site from scratch...gah!). I finally gave up and used Disqus for the commenting just because I needed to get the site launched for the client. Did the original message give you any clue into what I might have been missing or doing wrong?
I'll also mention that I originally built the site using 5.7.5.4. Couldn't get this working, so I rebuilt using 5.7.5.3 in case it was a bug in the latest release. When I got the same results, I updated back to 5.7.5.4.
@lmestep
My online server with mail function is running 5.7.5.6. I just tested the "Users To Receive Conversation Notifications" function and it works as expected. The users listed were notified when new comments were made.
Dashboard > System & Settings > Conversations > Notification > Users To Receive Conversation Notifications
My online server with mail function is running 5.7.5.6. I just tested the "Users To Receive Conversation Notifications" function and it works as expected. The users listed were notified when new comments were made.
Dashboard > System & Settings > Conversations > Notification > Users To Receive Conversation Notifications
I had checked that earlier and it was properly set to notify me. I'm not sure if any others have had this issue with 5.7.5.4 or if I had an error somewhere else that was causing the problem? Perhaps on my next site I'll try it again using the newer update. Thanks, I appreciate your responses!
Hello,
I've got the same error for form block and mail service "Core::make('mail')"
Any fix ?
thanks
moosh
I've got the same error for form block and mail service "Core::make('mail')"
Any fix ?
thanks
moosh
I'm not receiving messages via the conversation block either. Adding to the conversation works great...just not getting notified even though we have two contacts/emails setup to be notified.
@athomas5
In the dashboard Email settings, are you using "Default PHP Mail Function" or "External SMTP Server"?
Dashboard > System & Settings > Email > SMTP Method
Have you tested your e-mail settings?
Dashboard > System & Settings > Email > SMTP Method > Test Mail Settings
In the dashboard Email settings, are you using "Default PHP Mail Function" or "External SMTP Server"?
Dashboard > System & Settings > Email > SMTP Method
Have you tested your e-mail settings?
Dashboard > System & Settings > Email > SMTP Method > Test Mail Settings
The page link you posted is not found.
I went to the blog entry on the main site and it is using Disqus to handle comments.
http://sycamorecreekfarmwv.com/blog/beginnings...
Is this question regarding Disqus or the Conversation block?