Exception in mail parser when handling multipart messages

Create issue
Issue #71 resolved
Jelmer van der Linde created an issue

https://sentry.svcover.nl/cover/cover-php/issues/66/

ErrorException: Uncaught exception 'ErrorException' with message 'Undefined property: Cover\email\MessagePart::$parts' in /home/webcie/www/www/include/email.php:135
Stack trace:
#0 [internal function]: {closure}(8, 'Undefined prope...', '/home/webcie/ww...', 135, Array)
#1 /home/webcie/www/www/vendor/sentry/sentry/lib/Raven/Breadcrumbs/ErrorHandler.php(36): call_user_func(Object(Closure), 8, 'Undefined prope...', '/home/webcie/ww...', 135, Array)
#2 /home/webcie/www/www/include/email.php(135): Raven_Breadcrumbs_ErrorHandler->handleError(8, 'Undefined prope...', '/home/webcie/ww...', 135, Array)
#3 /home/webcie/www/www/include/email.php(120): Cover\email\MessagePart->hasBodyOfType('text/plain')
#4 /home/webcie/www/www/include/email.php(559): Cover\email\MessagePart->body('text/plain')
#5 /home/webcie/www/www/cron/send-mailinglist-mail.php(245): Cover\email\reply(Object(Cover\email\MessagePart), 'Sorry, but your...')
#6 /home/webcie/www/www/cron/send-mailinglist-mail.php(421): process_return_to_sender('From bounces@sv...', Obj
  File "include/email.php", line 135, in handleFatalError
    foreach ($this->parts as $part)
  File "[Anonymous function]", line 0
    Raven_ErrorHandler->handleFatalError

Comments (1)

  1. Log in to comment