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.BounceNotificationHandler Class Reference
Inheritance diagram for google.appengine.ext.webapp.mail_handlers.BounceNotificationHandler:
google.appengine.ext.webapp._webapp25.RequestHandler

Public Member Functions

def post
 
def receive
 
def mapping
 
- Public Member Functions inherited from google.appengine.ext.webapp._webapp25.RequestHandler
def initialize
 
def get
 
def post
 
def head
 
def options
 
def put
 
def delete
 
def trace
 
def error
 
def redirect
 
def handle_exception
 
def new_factory
 
def get_url
 

Additional Inherited Members

- Public Attributes inherited from google.appengine.ext.webapp._webapp25.RequestHandler
 request
 
 response
 

Detailed Description

Base class for bounce notification handlers.

Example:

  # Sub-class overrides receive method.
  class BounceLogger(BounceNotificationHandler):

    def receive(self, bounce_notification):
      logging.info('Received bounce from ' %
          bounce_notification.notification_from)


  # Map bounce handler to application
  application = webapp.WSGIApplication([
      BounceLogger.mapping(),
  ])

Member Function Documentation

def google.appengine.ext.webapp.mail_handlers.BounceNotificationHandler.mapping (   cls)
Convenience method to map handler class to application.

Returns:
  Mapping from bounce URL to bounce notification handler class.
def google.appengine.ext.webapp.mail_handlers.BounceNotificationHandler.post (   self)
Transforms POST body to bounce request.

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