Added work-around for Issue-185 where to array was not filled with all recipients.
I found this solution on: http://php.net/manual/en/function.imap-headerinfo.php#98809
After testing it does do the trick and the To array is filled properly with this change.
Added work-around for Issue-185 where to array was not filled with all recipients. I found this solution on: http://php.net/manual/en/function.imap-headerinfo.php#98809 After testing it does do the trick and the To array is filled properly with this change.