You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm using laravel however this seems to be a php-imap issue so I will post it here. The connection used was gmail with the settings described in the wiki (app-password)
mb_decode_mimeheader() expects parameter 1 to be string, array given
on src/Header.php private function decode($value)
on line 388
I have traced the issue back to 'References:' raw header
On normal emails, there is only one reference but some emails can have a hierarchy of emails in them so it picks up multiple references. This causes the public function rfc822_parse_headers($raw_headers) on line 171 to parse 'References:' as an array rather than a string.
Describe the bug
I'm using laravel however this seems to be a php-imap issue so I will post it here. The connection used was gmail with the settings described in the wiki (app-password)
I have traced the issue back to 'References:' raw header
On normal emails, there is only one reference but some emails can have a hierarchy of emails in them so it picks up multiple references. This causes the
public function rfc822_parse_headers($raw_headers) on line 171
to parse 'References:' as an array rather than a string.To Reproduce
Steps to reproduce the behavior:
Desktop / Server (please complete the following information):
Additional context
This only happens when an email contains multiple 'References:' on a single reference the behaviour is normal with out any issues.
The text was updated successfully, but these errors were encountered: