Open TrueShutDown opened 7 years ago
This may be an issue with some old code. Just got a pc so I'll be working on this
any solutions?
Got back yesterday. I will look at today as soon as I get out of bed...
I haven't seen the code in a bit, try a temporary downgrade and tell me if it ever worked in the first place
How can I downgrade and to which version? I use composer
"require": {
"ssilence/php-imap-client": "dev-master"
},
Hello. How can i solve this issue?
This issue is solved by changing the following:
ImapClient.php
public function imapHeaderInfo($id)
{
return imap_headerinfo($this->imap, $id);
}
change into:
public function imapHeaderInfo($id)
{
return imap_rfc822_parse_headers(imap_fetchheader($this->imap, $id));
}
IncomingMessage.php
protected function imapHeaderInfo()
{
return imap_headerinfo($this->imapStream, $this->id);
}
change into:
protected function imapHeaderInfo()
{
return imap_rfc822_parse_headers(imap_fetchheader(($this->imapStream, $this->id));
}
See:
Hello. We accept all help @Daxyhr. However to properly credit you you need to submit a pull request with these changes
@xXXIMMATTHEWXXx I'm trying to figure out how that works. Thats why I just posted the solution here. I just pointed to a solution that I found online when I runned into the issue above.
[update] I think I made a pull request now.
Headers CC, BCC are correctly, but TO header include only one recipients
This is part of header message and dump IncomingMessage object