App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | List of all members
google.appengine.ext.webapp.mail_handlers.BounceNotification Class Reference
Inheritance diagram for google.appengine.ext.webapp.mail_handlers.BounceNotification:

Public Member Functions

def __init__
 
def original
 
def notification
 
def original_raw_message
 

Detailed Description

Encapsulates a bounce notification received by the application.

Constructor & Destructor Documentation

def google.appengine.ext.webapp.mail_handlers.BounceNotification.__init__ (   self,
  post_vars 
)
Constructs a new BounceNotification from an HTTP request.

Properties:
  original: a dict describing the message that caused the bounce.
  notification: a dict describing the bounce itself.
  original_raw_message: the raw message that caused the bounce.

The 'original' and 'notification' dicts contain the following keys:
  to, from, subject, text

Args:
  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

Raises:
  InvalidBounceNotification if any of the expected fields are missing.

The documentation for this class was generated from the following file: