- Affected version
- 2.0.1
This error seems to be showing up in the logs quite frequently. I'm not entirely sure if it's at the fault of XF or how I have emails configured.
Stack Trace:
Request State:
Zend\Mail\Exception\RuntimeException: Bounce message processing failed: Malformed header detected
src/vendor/zendframework/zend-mail/src/Headers.php:88
Stack Trace:
Code:
#0 src/vendor/zendframework/zend-mime/src/Decode.php(141): Zend\Mail\Headers::fromString('Return-Path: <6...', '\n')
#1 src/vendor/zendframework/zend-mail/src/Storage/Part.php(99): Zend\Mime\Decode::splitMessage('Return-Path: <6...', 'Return-Path: <6...', 'This is a multi...', '\n', false)
#2 src/vendor/zendframework/zend-mail/src/Storage/Message.php(54): Zend\Mail\Storage\Part->__construct(Array)
#3 src/XF/EmailBounce/Parser.php(168): Zend\Mail\Storage\Message->__construct(Array)
#4 src/XF/EmailBounce/Processor.php(69): XF\EmailBounce\Parser->parseMessage('Return-Path: <6...')
#5 src/XF/EmailBounce/Processor.php(53): XF\EmailBounce\Processor->processMessage('Return-Path: <6...')
#6 src/XF/Job/EmailBounce.php(27): XF\EmailBounce\Processor->processFromStorage(Object(Zend\Mail\Storage\Imap), 8)
#7 src/XF/Job/Manager.php(241): XF\Job\EmailBounce->run(8)
#8 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 8)
#9 src/XF/Job/Manager.php(76): XF\Job\Manager->runJobEntry(Array, 8)
#10 job.php(15): XF\Job\Manager->runQueue(false, 8)
#11 {main}
Request State:
Code:
array(4) {
["url"] => string(8) "/job.php"
["referrer"] => string(58) "https://fellowsfilm.co.uk/files/ukdt-cotterell.180/reviews"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}