JMAConsulting / biz.jmaconsulting.mte

Mandrill Emails Extension for CiviCRM
10 stars 21 forks source link

Bounces not processed #97

Open sanjayjaindc opened 8 years ago

sanjayjaindc commented 8 years ago

Mandrill Transactional Emails V2 - CiviCRM 4.6.8 - WP 4.2.5

CiviCRM is not processing the bounces from Mandrill's webhook. On Send test from Mandrill seems to work - Find Activities "Mandrill Email Bounce" shows activities with subject "This an example webhook message" - But actual bounces are not reported.

This site is not seeing the Webhook post error as reported on other issues.

Error log shows:

PHP Fatal error: Cannot break/continue 1 level in /var/www/site/html/wp-content/plugins/files/civicrm/extensions/biz.jmaconsulting.mte/CRM/Mte/BAO/Mandrill.php on line 349

Line 349: Continue

ginkgomzd commented 8 years ago

Please help test. https://github.com/JMAConsulting/biz.jmaconsulting.mte/pull/98

vakeesan26 commented 8 years ago

tested and working fine on CiviCRM 4.5.6 - WP 4.2.5

thomasbacon commented 8 years ago

I'm having a similar error, on WP 4.4.1 and CiviCRM 4.4.5. I tested patch #98 with no luck. How can I debug this, is there an error log for the extension?

axon-obriend commented 8 years ago

You can look in the web site's error log as well as the CiviCRM error log in the ConfigAndLog directory. When I was troubleshooting, it was also informative (if not necessarily helpful) to look on Mandrill at the Webhooks log. You go to Settings - Webhooks and see if there's a failure message You can click on a link under "Number of Events" And it will show all the calls to the webhook. IIRC, on a failed call to the webhook, there's the syntax of a curl command you can use to simulate the call to the webhook and see what's happening.

Before you get too far into the weeds, when you say "similar", what exactly is going on?

thomasbacon commented 8 years ago

Thanks for your input.

  1. I don't see any errors in server logs (so this differs from original poster)
  2. Webhook are reporting successful tests / real posts back to the URL: https://www.domain.org/?page=CiviCRM&q=civicrm/ajax/mte/callback&mandrillSecret=XYZ
  3. I don't see any bounce activity from Madnrill in Civi Activity Log
  4. Bounces are not being processed at all.
MtnPavlas commented 8 years ago

My experience is the same as described by nocabt Joomla 3.4.8, civiCRM 4.6.11, Mandril Transactional Emails 2.0

thanks, guys, for any pointers

tabletguy commented 8 years ago

Mandrill also has problems for my Joomla/CiviCRM site, but I've turned off the callback links, etc. I don't know how to debug things, although if there were good directions, I'd attempt it. (I am a programmer on Windows platform, but not web). I'm hoping for a newer version of Mandrill soon that perhaps fixes these issues. (I've reported on them a while back, but since it's 'turned off' now, I don't see any messages, just don't get any bounce / spam reports back.

On Wed, Jan 27, 2016 at 1:27 PM, MtnPavlas notifications@github.com wrote:

My experience is the same as described by nocabt Joomla 3.4.8, civiCRM 4.6.11, Mandril Transactional Emails 2.0

thanks, guys, for any pointers

— Reply to this email directly or view it on GitHub https://github.com/JMAConsulting/biz.jmaconsulting.mte/issues/97#issuecomment-175470479 .

JoeMurray commented 8 years ago

We'll try to respond before releasing our 4.7 compatible version by next week. We're currently busy finalizing a bit for tomorrow's core 4.7 release.

Thanks for your help in reporting everything!

Cheers, Joe

pradpnayak commented 8 years ago

Can you please update the extension and check if still get error

Here is the download link: https://github.com/JMAConsulting/biz.jmaconsulting.mte/archive/v2.1.beta.zip

thomasbacon commented 8 years ago

Hi there, I tried the beta version but it's still not working in WordPress for me. I'll keep testing though maybe I missed something when upgrading the extension.