Closed (fixed)
Project:
Mailhandler
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Jun 2008 at 23:30 UTC
Updated:
15 Dec 2011 at 01:50 UTC
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
Comment #1
ilo commentedI'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.
Comment #2
danepowell commentedJust 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.
Comment #3
danepowell commentedActually, 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.
Comment #4
danepowell commentedComment #5
danepowell commentedOoh... 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...
Comment #6
danepowell commentedI 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.
Comment #7
danepowell commentedFor anyone interested in an alternative to the PHP IMAP library, please subscribe to #1357638: Alternative to PHP IMAP retrieval library