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.