CRM-4817 CiviMail Processor has error processing some multi-part MIME messages

    Details

    • Type: Patch
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.2.7
    • Fix Version/s: None
    • Component/s: CiviMail
    • Labels:
      None

      Description

      The following error message occurs when processing some multi-part MIME messages. This error throws a fatal error and stops the CiviMail Processor from processing additional emails.

      [Tue Jul 28 10:55:28 2009] [error] [client 68.229.46.18] PHP Fatal error: Call to undefined method ezcMailMultipartRelated::getParts() in /var/www/vhosts/httpdocs/drupal/sites/all/modules/civicrm/bin/CiviMailProcessor.php on line 103

      I have included a patch to fix this.

      There is also an error when running the cron-job via wget:

      [Tue Jul 28 12:40:09 2009] [error] [client 68.229.46.18] PHP Notice: Undefined index: names in /var/www/vhosts/httpdocs/drupal/sites/all/modules/civicrm/bin/CiviMailProcessor.php on line 163

      I have commented out the section where it tries to grab the parameters using the names index to bypass this error. I figured better to disable what is broken for now than just leave it broken.

        Attachments

          Activity

          [CRM-4817] CiviMail Processor has error processing some multi-part MIME messages
          Donald A. Lobo added a comment -


          dont see the attached patch. can u please attach

          Jason Rosen added a comment -

          Patch now attached - I must have missed it the first time

          Donald A. Lobo added a comment -


          applied the first patch, but not the second. surprised u got that notice since there is an isset

            People

            • Assignee:
              Donald A. Lobo
              Reporter:
              Jason Rosen

              Dates

              • Created:
                Updated:
                Resolved: