-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
Remove ext/imap — it has been moved to PECL #13190
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The codeowner entry for IMAP should also be removed.
The only thing I'm concerned about is that we don't have test coverage for the regression tests of the mail()
function.
But don't know what we could do to intercept the mail delivery for a test
Maybe "mailhog" would be good? |
That's my concern too. From checking the tests, it seems to me that it is completely removing mail coverage on Windows which is is not good if it's really the case. I think we should find replacement before we are going to proceed with this removal. |
MailHog could work from a quick look as it offers quite nice API to get back the messages and do some search as well. So technically it should allow us to do the same checks. |
Alternatively we could implement some debugging SMTP server which might not be that hard as it's pretty simple protocol and we could set some expectations there. |
There are imap descriptions in these files, do I need to modify them? Line 77 in ffc250d
Line 353 in ffc250d
https://github.com/php/php-src/blob/master/appveyor/setup_hmailserver.php https://github.com/php/php-src/blob/master/php.ini-development |
I'm leaving the dovecot and hmail server setup for now, as that can be used to do mail tests too. Removed the other occurences. |
I've been using https://greenmail-mail-test.github.io/greenmail/ for testing. Requires java, but does not need much setup. |
It should be noted the premise of the unbundling decision, that is the basis of this PR, is that the IMAP It was only ever unmaintained at older locations and @derickr, lead maintainer/developer of the pecl-mail-imap extension, failed to take into account Mark Crispin continuing to develop it after his time at University of Washington (as Panda IMAP) and Eduardo Chappa continuing its development as a part of Alpine since Alpine 2.19.1+ since 2013-11-02 after Crispin's death at the end of 2012. Remember Crispin originally developed There is even a GH mirror at alpinemail/alpine and anyone looking for a maintained version of |
No other major distribution uses Having an unmaintained extension in It was unbundled for good reason, if someone else wants to maintain it they can do it, either here or by forking the repo. |
Yes, but there are existing
I am not arguing that it should not have been unbundled (this is the wrong forum for such an argument anyway)—only that the premise for it having been so was erroneous. The extension was certainly mostly unmaintained (it was just kept compiling with no changed to the actual I only wanted to call out to anyone that ended up at this PR, that there are potentially viable options for moving forward with a |
https://pecl.php.net/package/imap