[Tickets #7761] Re: Minor updates to fetchmail for multiple driver flexibility

bugs at horde.org bugs at horde.org
Fri Dec 12 18:03:14 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/7761
------------------------------------------------------------------------------
  Ticket             | 7761
  Updated By         | rick at havokmon.com
  Summary            | Minor updates to fetchmail for multiple driver
                     | flexibility
  Queue              | IMP
  Version            | 4.3
  Type               | Enhancement
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


rick at havokmon.com (2008-12-12 13:03) wrote:

I Agree - the driver should say if it should run on demand.  I wasn't  
sure if this was something you were interested in, so I just made it  
work for me.

The 'fetchmailprefs.html' is never loaded, because the prefs file is  
based on the driver name.  $driver.'prefs.html'.    So you're saying  
the template should just be $driver . html ?  I don't really see the  
difference between that and reading in the driver names in the  
Fetchmail.php file.
  function &factory($driver, $params = array())
     {
         $driver = basename($driver);
         require_once dirname(__FILE__) . '/Fetchmail/' . $driver . '.php';
??

IMHO, 'imap' is a bad driver name.   It really should be 'fetchmail',  
or retrieve, or something else.  The protocols IMAP and POP both fall  
under this driver, so there's no need for a separate prefs file for  
each protocol.  Naming the driver one of the protocols is just  
confusing.
If you want to see the end result, create an account at vfemail.net





More information about the bugs mailing list