Sounds good, so what about some code to show your "general" idea ?
Bye, Norman 2010/2/12 Robert Burrell Donkin <[email protected]>: > On Thu, Feb 4, 2010 at 9:08 PM, Norman Maurer > <[email protected]> wrote: >> <SNIP> >> >> 2010/1/22 Robert Burrell Donkin <[email protected]>: >> >>> maybe: >>> >>> deliver(String URL, Mail mail) >>> >>> would be a reasonable first step. (i agree that we need to revise Mail >>> but i think that can wait.) >>> >>> URL gives more flexibility for virtual stuff and namespacing. for both >>> IMAP and POP3 the storage of the read only raw data is logically >>> independent from the read-write meta-data that's need to manage the >>> mail. i suspect that the optimal performance would be to combine a >>> flexible data store for the meta-data and file or http for the raw >>> data. >>> >>> examples >>> >>> deliver("james://usern...@localhost/", mail) >>> >> >> I think we could even use it for deliver via smtp to remote host: >> >> deliver("smtp:mail.whatever.de",mail) >> >> WDYT ? > > sounds good :-) > > i like the idea of being able to compose the processor from factored > out handlers and register them by protocol > > opinions? > > - robert > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
