[z3-five] MailHosts as utilities

Chris Withers chris at simplistix.co.uk
Tue Jan 9 09:21:52 CET 2007


Philipp von Weitershausen wrote:
> Andreas Jung wrote:
>>> On 12/7/06, Chris Withers <chris at simplistix.co.uk> wrote:
>>>> Anyone done any work on writing an interface for MailHost-like things
>>>> and then getting MailHost, MaildropHost, SecureMailHost and friends to
>>>> implement the interface and be registered as local utilities?
>>> I think Zope3 actually may have some stuff like that. CPSMailAccess
>>> uses it, I think.
>> zope.sendmail?
> 
> Yes, zope.sendmail (previously known as zope.app.mail) works fine on 
> Zope 2. I would suggest using this one.

This is kind of missing my point. There's currently MailHost, 
MaildropHost and one or two others that provide useful mailing 
functionality.

However, selecting from available options is hard because you have to 
pass all the possible meta_types to superValues.

It's to avoid this problem that I'd like to find a way to move mailing 
in Zope 2 to something interface-based, not because I want to use 
another implementation...

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk



More information about the z3-five mailing list