-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add error control #1
Comments
"Unknown reason" wasn't to do with the mailbox port but the use of But "Unknown reason" was exactly the case. The php function
|
What a shame fsockopen returns no specific error. Don't you want to update the README here as well? How about doing a simple #3? |
I don't want to duplicate documentation in that way. php-imap2 is an external package so I also don't want to change that just for this specific issue. |
What if you detect |
I have added an explanation to the plugin documentation which I think is sufficient for the time being. If this plugin became the basis of a long term solution for phplist to the issue of the removal of the IMAP extension then there could be some extra validation, such as the host name, protocol and port. I want to wait to see what that long term solution is going to be. |
There seems to be no error control, so if there's a failure it just returns an unknown reason:

In my case, the unknown reason was solved by:
$bounce_mailbox_port
toimap
instead ofpop3
and likewise use an IMAP port number rather than a POP3 one.$bounce_mailbox_host
instead of justlocalhost
.But I assume other errors might happen as well, so it might be best to try to determine the error, at least in a general way, especially as this plugin might come as default.
The text was updated successfully, but these errors were encountered: