BounceNotification
is provided by the
google.appengine.ext.webapp.mail_handlers
package.
BounceNotification
encapsulates the bounce notification
received by the application.
- Class Methods
Constructor
- class BounceNotification ( post_vars )
-
Constructs a new BounceNotification from the HTTP request containing the bounce notification from App Engine.
post_vars
: a dict-like object containing bounce information. This is typically the self.request.POST variable of a RequestHandler object. The following keys are expected in the dict:- original-from
- original-to
- original-subject
- original-text
- notification-from
- notification-to
- notification-subject
- notification-text
- raw-message
original
is a dict describing the message that caused the bounce,notification
is a dict describing the bounce itself, andraw_message
is the raw message that caused the bounce.
Properties
The
BounceNotification
class provides the following
properties:
- original()
-
A dict describing the message that caused the bounce, containing the keys
to
,from
,subject
,text
. - notification()
-
A dict describing the bounce itself, containing the keys
to
,from
,subject
,text
. - original_raw_message()
-
The raw message that caused the bounce