peeker
peeker copied to clipboard
$this->MsgNo is case sensitive
Hi
The variable $this->MsgNo is the libraries is case sensitive. In some files, it's written as "MsgNo", in other files it's "Msgno". Therefor you get an error, if you call a method thet uses this.
I've changed it in every library to $this->MsgNo, and now it workes fine.
Hi Jens. This sounds good. Please send a pull request if you can. Thank you.
Hi Jens,
I looked into this issue and I cannot see Msgno formatted as MsgNo on any imap_header_info() output data http://php.net/manual/en/function.imap-headerinfo.php
Maybe you have a custom IMAP set up? Can you give details on which IMAP server you are trying to talk to with peeker header class?
Thanks!