Open darkworks opened 1 year ago
seems like goal of public static function headers($imap, $messageNum, $fromLength = 0, $subjectLength = 0, $defaultHost = null)
is to fetch single message header. so should be define as public static function header($imap, $messageNum, $fromLength = 0, $subjectLength = 0, $defaultHost = null)
although imap2_headers
should return all bulk headers
am trying to fetch mails headers so after connecting to mail box like
when i call
imap2_headers
likei get error
so after checking lib source bootstrap.php
then in Message.php definition of headers() method
looks like
headers
method need at least two parameters however in bootstrap its declared incorrect. although original phpimap_headers();
function would work ok with single parameter.