Skip to content
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

imap_open mailbox flags chronological order not clarified! #4459

Open
jabcreations opened this issue Feb 11, 2025 · 0 comments
Open

imap_open mailbox flags chronological order not clarified! #4459

jabcreations opened this issue Feb 11, 2025 · 0 comments

Comments

@jabcreations
Copy link

From manual page: https://php.net/function.imap-open


I was receiving the following error:

Can't do secure authentication with this server (errflg=2)

The /imap and /ssl flags were in the wrong order though this only mattered after I added the /secure flag.

(Snippet) Before / Broken:
:993/imap/ssl/secure

(Snippet) After / Working:
:993/ssl/imap/secure

I'm not sure where the original mix-up came from as this was originally programmed in my system about a decade ago.

I'm not sure how the documentation should be updated, only that it should be updated in regards to the chronological order of flags. In the interim I posted a comment with the error message and clarification to help anyone else who encounters this oddity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant