This is what's handed to your handlers for you to process. The
information you get out of this is *ALWAYS* in Python unicode and should
be usable by any API. Modifying this object will cause other handlers
that deal with it to get your modifications, but in general you don't
want to do more than maybe tag a few headers.
|
|
__init__(self,
Peer,
From,
To,
Data)
Peer is the remote peer making the connection (sometimes the queue
name). |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
__str__(self)
Converts this to a string usable for storage into a queue or
transmission. |
source code
|
|
|
|
|
|
|
|
|
|
to_message(self)
Converts this to a Python email message you can use to interact with
the python mail APIs. |
source code
|
|
|
|
walk(self)
Recursively walks all attached parts and their children. |
source code
|
|
|
|
is_bounce(self,
threshold=0.3)
Determines whether the message is a bounce message based on
lamson.bounce.BounceAnalzyer given threshold. |
source code
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__,
__sizeof__,
__subclasshook__
|