Skip to content

Missing e-mail headers #37

@jbostoen

Description

@jbostoen

While trying to reproduce an issue on a Windows 11 environment (still PHP 7.4.26), it seemed the auto-bounce policy failed.

Further investigation seems to indicate some e-mail headers were simply not processed.

This goes all the way back to the imap_fetchheader call. Other headers indicate it's the proper message, but for some reason some headers are missing.

One StackOverflow post suggests more headers may be visible in Microsoft Outlook because it may get more headers from MS Exchange: https://stackoverflow.com/questions/39347494/imap-fetchheader-not-getting-all

However, using the same code in production (PHP: 8.0.28) in a Linux environment and even using the same credentials and version of this extension, it worked.

So this is likely caused by a difference in PHP version, or OS?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions