php-imap icon indicating copy to clipboard operation
php-imap copied to clipboard

QQ mailbox official mail, failed to get the mail date. Tips:Call to a member function toDate() on null

Open Hanaver opened this issue 2 years ago • 1 comments

Does anyone know how to deal with this problem?

image

Mail headers have no date information

Thanks

Hanaver avatar Jun 28 '22 03:06 Hanaver

Hi @Hanaver , thanks for this report.

You could try to enable the fallback date inside your config file: https://github.com/Webklex/php-imap/blob/master/src/config/imap.php#L154

Please let me know if this has helped.

Best regards & happy coding,

Webklex avatar Aug 09 '22 06:08 Webklex