JMAConsulting / biz.jmaconsulting.mte

Mandrill Emails Extension for CiviCRM
10 stars 21 forks source link

Bounce processing not setting (Drupal) CiviCRM 'on hold' status #76

Closed mfuggle closed 9 years ago

mfuggle commented 9 years ago

I have read previous posts that suggest bounce processing is performing correctly using version 1.5 of the CivicCRM extension with the latest versions of CiviCRM in Drupal. I can see a number of hard bounces on the Mandrill website. However they are not being picked up in CiviCRM so that the email addresses are placed 'on hold'. This is critical functionality for us. Unsubscribes are working correctly but not bounces. We have not received any soft bounces so I am not sure how they are managed.

I would really appreciate some help with this matter because I am unsure where I might be going wrong.

Cheers Martin Fuggle

mfuggle commented 9 years ago

I have started to get a better understanding of this and the hard bounces are not getting into the CiviCRM bounce mailbox from which CiviCRM can then set the 'on hold' status. So the problem is not as previously described but I need to understand how to get the bounce emails into the bounce mailbox.

Cheers Martin

Edzelopez commented 9 years ago

Hi @mfuggle

Could you tell me a bit more about the configuration for bounce processing you have added in CiviCRM?

Thanks, Edsel

mfuggle commented 9 years ago

Hi @Edzelopez

Thanks for getting back to me. I have attached the CiviCRM Bounce Mail account, a delivery summary where there were approximately 20 bounces but none shown on the delivery summary, the Bounce email from Mandrill and the attachment to that email.

I have been over this a number of times and cannot see where I am going wrong.

Cheers Martin Fuggle bounce - account bounce - delivery summary bounce - mail attachment bounce - mandrill sample email

Martin Fuggle

JoeMurray commented 9 years ago

Hi Martin,

Mandrill Transactional Emails is an extension designed to integrate all transactional email from CiviCRM with Mandrill. CiviMail is for bulk sending, and was not part of the original scope. We have a new version that supports both CiviMail and transactional email. Would you be willing to help test it?

mfuggle commented 9 years ago

Hi Joe,

How confident are you of the new version since I would need to test it in my production site (OK I hear you say - that's not ideal!). I can try it on a small distribution list to test the bounce processing.

Cheers...

Martin Fuggle kew: 03 9817 1041 tel:0398171401 mobile: 04 0826 5586 tel:0408265586 skype: mfuggle callto:mfuggle website www.martinfuggle.com http://www.martinfuggle.com

Joe Murray mailto:notifications@github.com 18 February 2015 3:17 am

Hi Martin,

Mandrill Transactional Emails is an extension designed to integrate all transactional email from CiviCRM with Mandrill. CiviMail is for bulk sending, and was not part of the original scope. We have a new version that supports both CiviMail and transactional email. Would you be willing to help test it?

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

mfuggle commented 9 years ago

Hi Joe,

I installed the 1.5 beta version and sent an email via CiviEmail to two people, one whose email is valid and one whose email generated a hard bounce. The result is as follows:

(see the two attached screen shots)

As a result of the above there are no bounces shown in the CiviMail report and the email address has not been placed On Hold.

Unfortunately I am not a programmer but it seems to me that CiviMail is not parsing the bounce email correctly. So either CiviMail is incorrect or the email being received from Mandrill is of a form that is not understood by CiviMail.

Anyway that's my take on whats happening. Martin Fuggle kew: 03 9817 1041 tel:0398171401 mobile: 04 0826 5586 tel:0408265586 skype: mfuggle callto:mfuggle website www.martinfuggle.com http://www.martinfuggle.com Returned email...

Civimail showing 0/119 ignored, but 0/0 processed...

Joe Murray mailto:notifications@github.com 18 February 2015 3:17 am

Hi Martin,

Mandrill Transactional Emails is an extension designed to integrate all transactional email from CiviCRM with Mandrill. CiviMail is for bulk sending, and was not part of the original scope. We have a new version that supports both CiviMail and transactional email. Would you be willing to help test it?

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

JoeMurray commented 9 years ago

This is the expected behaviour when trying to use our extension and CiviMail, since the extension doesn't support that properly. The next version of the extension will support this. Testing it on a small distribution list on your production system should be a good way to test it. We'll ping you when it is ready shortly.

mfuggle commented 9 years ago

Hi Joe,

I must have missed something. I read the attached about the latest (beta) release which states that the code had been fixed 'to set on-hold email after bounce threshold' is exceeded.

Martin Fuggle kew: 03 9817 1041 tel:0398171401 mobile: 04 0826 5586 tel:0408265586 skype: mfuggle callto:mfuggle website www.martinfuggle.com http://www.martinfuggle.com

Martin Fuggle mailto:martin@fuggle.com.au 19 February 2015 1:42 pm Hi Joe,

I installed the 1.5 beta version and sent an email via CiviEmail to two people, one whose email is valid and one whose email generated a hard bounce. The result is as follows:

  • Mandrill shows the hard bounce on its webpage
  • The bounce email has been received in the bounce email address
  • Civimail states that 0/119 have been ignored but 0/0 have been processed

(see the two attached screen shots)

As a result of the above there are no bounces shown in the CiviMail report and the email address has not been placed On Hold.

Unfortunately I am not a programmer but it seems to me that CiviMail is not parsing the bounce email correctly. So either CiviMail is incorrect or the email being received from Mandrill is of a form that is not understood by CiviMail.

Anyway that's my take on whats happening. Returned email...

Civimail showing 0/119 ignored, but 0/0 processed...

Joe Murray mailto:notifications@github.com 18 February 2015 3:17 am

Hi Martin,

Mandrill Transactional Emails is an extension designed to integrate all transactional email from CiviCRM with Mandrill. CiviMail is for bulk sending, and was not part of the original scope. We have a new version that supports both CiviMail and transactional email. Would you be willing to help test it?

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

herbdool commented 9 years ago

Hi Joe, I think I'd be willing to test it. Is it a branch on this repo?

danielstrum commented 9 years ago

Hi Joe,

I would definitely be willing to help test the new version with support for CiviMail. I assume the worst case scenario is that the return channel would not work (emails would be sent), right?

I have 2 client that I would use this for right away. Thanks for your work.

shawnholt commented 9 years ago

I started a new thread: #80 specifically on bulk email support. @JoeMurray with your permission, would like to focus specifically on that topic in new thread and if appropriate, close this one.

JoeMurray commented 9 years ago

Agreed.