[Twisted-Python] Mail Support

Moshe Zadka m at moshez.org
Thu Sep 20 09:14:08 EDT 2001

Attention everyone: mail support (twisted.mail) is going to be rewritten
completely, breaking backwards compatibility with domains written
by 3rd parties. If you happen to have written any domain, please let
me know. 

Problems which I do not want to fix in a backwards compatible way:
* exists() and saveMessage() are assumed to be synchronous. They
  should not be
* The order of parameters to exists and saveMessage is completely

How I am going to fix it:

* exists() and saveMessage() will receive 3 arguments: a User object,
  and callbacks to call on existence/non-existence and successful/unsuccessful
  save (saveMessage will also get the message)

Quite possibly, the User object will contain a reference to the Protocol
object, so they can look inside the factory and transport parameters.

The Official Moshe Zadka FAQ: http://moshez.geek
The Official Moshe Zadka FAQ For Dummies: http://moshez.org
Read the FAQ

More information about the Twisted-Python mailing list