t.m.s.IMessageDeliveryFactory(Interface) : interface documentation

Part of twisted.mail.smtp View Source View In Hierarchy

An alternate interface to implement for handling message delivery.

It is useful to implement this interface instead of IMessageDelivery directly because it allows the implementor to distinguish between different messages delivery over the same connection. This can be used to optimize delivery of a single message to multiple recipients, something which cannot be done by IMessageDelivery implementors due to their lack of information.

Method getMessageDelivery Return an IMessageDelivery object.
def getMessageDelivery(): (source)
Return an IMessageDelivery object.

This will be called once per message.

API Documentation for Twisted, generated by pydoctor at 2014-05-12 18:27:00.