Hello,
Thank you for your library, it saved me hours of work...
I'm using it to connect to O365 server and expirienced encoding problem
Unknown: [BADCHARSET (US-ASCII)] The specified charset is not supported. (errflg=2)
I got this working by removing UTF-8 charset parameter from ImapDriver::getMailIds() line 185
Regards,