jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/395561 )

Change subject: Moar debug bounce
......................................................................


Moar debug bounce

Change-Id: I9e3e66f822e4a82481bfe4869f5beb05abb4b6d8
---
M CRM/Utils/Mail/EmailProcessor.php
1 file changed, 3 insertions(+), 1 deletion(-)

Approvals:
  jenkins-bot: Verified
  Ejegg: Looks good to me, approved



diff --git a/CRM/Utils/Mail/EmailProcessor.php 
b/CRM/Utils/Mail/EmailProcessor.php
index ebe7736..b602649 100644
--- a/CRM/Utils/Mail/EmailProcessor.php
+++ b/CRM/Utils/Mail/EmailProcessor.php
@@ -177,6 +177,8 @@
     while ($mails = $store->fetchNext(MAIL_BATCH_SIZE)) {
       foreach ($mails as $key => $mail) {
         watchdog('EmailProcessor', "Processing email: $key", array(), 
WATCHDOG_DEBUG);
+        $messageId = $mail->getHeader('Message-ID');
+        watchdog('EmailProcessor', "With message ID: $messageId", array(), 
WATCHDOG_DEBUG);
 
         // for every addressee: match address elements if it's to CiviMail
         $matches = array();
@@ -322,7 +324,7 @@
                     $text = $part->text;
                   }
                   elseif (($part = $mail->body->getReadablePart()) != NULL) {
-                    watchdog('EmailProcessor', "Part is not DeliveryStatus but 
supposedly has ReadablePart", array(), WATCHDOG_DEBUG);
+                    watchdog('EmailProcessor', "Part is not DeliveryStatus but 
supposedly has ReadablePart: " . print_r($part, true), array(), WATCHDOG_DEBUG);
                     $text = $part->text;
                   }
                 }

-- 
To view, visit https://gerrit.wikimedia.org/r/395561
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9e3e66f822e4a82481bfe4869f5beb05abb4b6d8
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm/civicrm
Gerrit-Branch: master
Gerrit-Owner: Ejegg <[email protected]>
Gerrit-Reviewer: Ejegg <[email protected]>
Gerrit-Reviewer: Mepps <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to