XF 2.0 Invalid header value detected

KSA

Well-known member
Hello all,

I have been getting this error lately not sure what is triggering it.

Code:
Zend\Mail\Header\Exception\InvalidArgumentException: Bounce message processing failed: Invalid header value detected src/vendor/zendframework/zend-mail/src/Header/GenericHeader.php:61
Generated by: Unknown account Oct 19, 2018 at 1:53 PM

#0 src/vendor/zendframework/zend-mail/src/Header/GenericHeader.php(35): Zend\Mail\Header\GenericHeader::splitHeaderLine('X-Ham-Report: S...')
#1 src/vendor/zendframework/zend-mail/src/Headers.php(230): Zend\Mail\Header\GenericHeader::fromString('X-Ham-Report: S...')
#2 src/vendor/zendframework/zend-mail/src/Headers.php(95): Zend\Mail\Headers->addHeaderLine('X-Ham-Report: S...')
#3 src/vendor/zendframework/zend-mime/src/Decode.php(141): Zend\Mail\Headers::fromString('Return-Path: <n...', '\n')
#4 src/vendor/zendframework/zend-mail/src/Storage/Part.php(99): Zend\Mime\Decode::splitMessage('Return-Path: <n...', 'Return-Path: <n...', '------=_Part_10...', '\n', false)
#5 src/vendor/zendframework/zend-mail/src/Storage/Message.php(54): Zend\Mail\Storage\Part->__construct(Array)
#6 src/XF/EmailBounce/Parser.php(169): Zend\Mail\Storage\Message->__construct(Array)
#7 src/XF/EmailBounce/Processor.php(69): XF\EmailBounce\Parser->parseMessage('Return-Path: <n...')
#8 src/XF/EmailBounce/Processor.php(53): XF\EmailBounce\Processor->processMessage('Return-Path: <n...')
#9 src/XF/Job/EmailBounce.php(27): XF\EmailBounce\Processor->processFromStorage(Object(Zend\Mail\Storage\Imap), 7.9999990463257)
#10 src/XF/Job/Manager.php(241): XF\Job\EmailBounce->run(7.9999990463257)
#11 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 7.9999990463257)
#12 src/XF/Job/Manager.php(76): XF\Job\Manager->runJobEntry(Array, 7.9999990463257)
#13 job.php(14): XF\Job\Manager->runQueue(false, 8)
#14 {main}
 
Hello all,

I have been getting this error lately not sure what is triggering it.

Code:
Zend\Mail\Header\Exception\InvalidArgumentException: Bounce message processing failed: Invalid header value detected src/vendor/zendframework/zend-mail/src/Header/GenericHeader.php:61
Generated by: Unknown account Oct 19, 2018 at 1:53 PM

#0 src/vendor/zendframework/zend-mail/src/Header/GenericHeader.php(35): Zend\Mail\Header\GenericHeader::splitHeaderLine('X-Ham-Report: S...')
#1 src/vendor/zendframework/zend-mail/src/Headers.php(230): Zend\Mail\Header\GenericHeader::fromString('X-Ham-Report: S...')
#2 src/vendor/zendframework/zend-mail/src/Headers.php(95): Zend\Mail\Headers->addHeaderLine('X-Ham-Report: S...')
#3 src/vendor/zendframework/zend-mime/src/Decode.php(141): Zend\Mail\Headers::fromString('Return-Path: <n...', '\n')
#4 src/vendor/zendframework/zend-mail/src/Storage/Part.php(99): Zend\Mime\Decode::splitMessage('Return-Path: <n...', 'Return-Path: <n...', '------=_Part_10...', '\n', false)
#5 src/vendor/zendframework/zend-mail/src/Storage/Message.php(54): Zend\Mail\Storage\Part->__construct(Array)
#6 src/XF/EmailBounce/Parser.php(169): Zend\Mail\Storage\Message->__construct(Array)
#7 src/XF/EmailBounce/Processor.php(69): XF\EmailBounce\Parser->parseMessage('Return-Path: <n...')
#8 src/XF/EmailBounce/Processor.php(53): XF\EmailBounce\Processor->processMessage('Return-Path: <n...')
#9 src/XF/Job/EmailBounce.php(27): XF\EmailBounce\Processor->processFromStorage(Object(Zend\Mail\Storage\Imap), 7.9999990463257)
#10 src/XF/Job/Manager.php(241): XF\Job\EmailBounce->run(7.9999990463257)
#11 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 7.9999990463257)
#12 src/XF/Job/Manager.php(76): XF\Job\Manager->runJobEntry(Array, 7.9999990463257)
#13 job.php(14): XF\Job\Manager->runQueue(false, 8)
#14 {main}

Have a read on this bug report, https://xenforo.com/community/threa...lbounce-invalid-header-value-detected.155022/ seems like the same thing and Mike was trying to get more info but the OP deleted the email.
 
  • Like
Reactions: KSA
Back
Top Bottom