Posted by Veggieryan on June 27, 2008 at 11:30pm
Jump to:
| Project: | Mailhandler |
| Version: | 7.x-2.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
http://www.phpclasses.org/browse/package/2351.html
This allows you to check imap accounts WITHOUT the php imap extension!!!! yipee!
How much would it cost to get this written in as a workaround for hosts without php imap? an optional helper module?
I am on www.mosso.com and love everything but the lack of php imap, they leave it out for obvious reasons...
This would really make my life easier...
thoughts?
Comments
#1
I'm moving to the top, as long as even the testbot has imap extension enabled: see http://drupal.org/node/1038922#comment-4004732
Not sure how much dependant the module is right now, but this is a very big change that can't be even considered without having a good (I'd say excelent) testcase.
#2
Just FYI, here's another issue that could potentially be solved by making the retrieval library pluggable... #1149060: MAPI retrieval library... however, this would involve a LOT of work, and I would guess that 99% of users have no problem using the PHP IMAP extension. So the ROI would be very low. I'm not keen on making it happen unless there are quite a few more compelling reasons.
#3
Actually, I'm becoming a bit more receptive to this idea- it might not be that hard to implement after all. I think the best way to do it is to create a new plugin type (much like the existing command and authentication plugins) to contain retrieval libraries. The current IMAP functions would go into a plugin, and you could incorporate another retrieval library into your own implementation of the plugin. Then you could select in the Mailbox settings which plugin you want to use.
I don't have the resources right now to tackle this myself, unless someone is interested in sponsoring the development- if you are able to sponsor it please let me know.
#4
#5
Ooh... and you could also make a "test" retrieval library that would work with the Drupal test bot, and also allow people to test Importer configurations without having an actual mailbox. I'm liking this idea more and more...
#6
I made the retrieval library a plugin. There's still only just the PHP IMAP library though.
http://drupalcode.org/project/mailhandler.git/commit/f4a3242
http://drupalcode.org/project/mailhandler.git/commit/20fc488
Need to open separate issues for an alternate library and test library.
#7
For anyone interested in an alternative to the PHP IMAP library, please subscribe to #1357638: Alternative to PHP IMAP retrieval library
#8
Automatically closed -- issue fixed for 2 weeks with no activity.