[z3-five] MailHosts as utilities

Rocky Burt rocky at serverzen.com
Tue Jan 9 15:40:17 CET 2007


On Tue, 2007-09-01 at 14:59 +0100, Philipp von Weitershausen wrote:
> I see. Well, it'd be useful, for starters, to implement a common  
> IMailHost interface that is shared among those different  
> implementations. They could then be registered as local persistent  
> utilities for IMailHost.

Well, whatever interface we end up using the need I see is as follows:

  1) use existing zope3 mail interface (or create new one like
IMailHost)
  2) make sure global utility exists for this interface
  3) make persistent version of utility that can be registered locally
and stores it's settings internally
  4) introduce MailHost BBB class for CMF that proxies for the new local
utility and spews deprecation warnings

We've been toying with this plan for Plone but no one has managed to get
time to do it.

- Rocky

-- 
Rocky Burt
ServerZen Software -- http://www.serverzen.com
News About The Server (blog) -- http://www.serverzen.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://codespeak.net/pipermail/z3-five/attachments/20070109/60931ef2/attachment.pgp 


More information about the z3-five mailing list