Login   Register  
PHP Classes
elePHPant
Icontem

Few minor fixes required

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      PHP 5 IMAP Class  >  All threads  >  Few minor fixes required  >  (Un) Subscribe thread alerts  
Subject:Few minor fixes required
Summary:minor fixes are required in Imap class
Messages:1
Author:Krishna
Date:2012-10-11 11:01:21
 

  1. Few minor fixes required   Reply   Report abuse  
Picture of Krishna
Krishna
2012-10-11 11:01:21
Imap class is fine and functioning fine when correct port and tsl details given.

It has few minor issues and two of them are already reported.

1) $mailbox should be replaced with $folder in constructor

2) function 'returnImapHeadersArr' should be public function

3) Attachment is not working because of case sensitive check in function 'returnEmailMessageArr'. It should be replaced in function (various lines)

strtoupper($k->disposition) == 'ATTACHMENT'
strtoupper($i->disposition) == 'ATTACHMENT'

4) I am not clear that why part is set with "2".

Can you update class file so it will help other new users and they do not have to do above changes?