SSilence / php-imap-client

a easy solution for simple IMAP email access in php
MIT License
268 stars 138 forks source link

Added in decodeBody, check if is object. Created method to mark messa… #227

Closed luizfernandotech closed 5 years ago

luizfernandotech commented 5 years ago

…ge as read.

Is the pull request based off the lastest version?

Yes

What features have you added?

On php-imap-client/ImapClient/IncomingMessage.php, method decodeBody, added "is_object" check to not generate notices. On php-imap-client/ImapClient/ImapClient.php, created a new method "setSeenMessage" and user it on getUnreadMessages.

What bugs did you fix?

It isn't flagging the message as read.

Have you properly documented your code?

Yes

Optional things below

[] Added your name to the credits Luiz Fernando da Silva

mattparksjr commented 5 years ago

Looks good. Thanks!