voku / PHPMailer-BMH

Bounce Mail Handler for PHP | This is a "reboot" of PHPMailer-BMH from WorxWare.
48 stars 25 forks source link

Support for PHP 8 ? #16

Open chriswalg opened 3 years ago

chriswalg commented 3 years ago

is bounce-mail-handler running and supported on PHP 8?

siemendev commented 3 years ago

This Package ist currently not working with PHP8, since PHP8 adds type safety to imap_delete and the BounceMailHandler is set to "strict types" although it passes int's in imap_delete's second argument.

As soon as these two calls are refactored, this package could be used with php8: \BounceMailHandler::879 \BounceMailHandler::920

If you don't need to delete messages, you're perfectly fine by setting BounceMailHandler::$testMode to true as a workaround.

voku commented 3 years ago

Thanks for the info. It's currently not on my priority, but maybe you can create a pull request for the error and I will check that? ☑

Tchiller commented 2 years ago

This issue should be closed by #17, I guess.

Thanks @chriswalg, @siemendev, @voku, and @perk11 for your contributions.