![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | post |
def | receive |
def | mapping |
![]() | |
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 | |
![]() | |
request | |
response | |
Base class for inbound mail handlers. Example: # Sub-class overrides receive method. class HelloReceiver(InboundMailHandler): def receive(self, mail_message): logging.info('Received greeting from %s: %s' % (mail_message.sender, mail_message.body)) # Map mail handler to appliction. application = webapp.WSGIApplication([ HelloReceiver.mapping(), ])
def google.appengine.ext.webapp.mail_handlers.InboundMailHandler.mapping | ( | cls | ) |
Convenience method to map handler class to application. Returns: Mapping from email URL to inbound mail handler class.
def google.appengine.ext.webapp.mail_handlers.InboundMailHandler.post | ( | self | ) |
Transforms body to email request.
def google.appengine.ext.webapp.mail_handlers.InboundMailHandler.receive | ( | self, | |
mail_message | |||
) |
Receive an email message. Override this method to implement an email receiver. Args: mail_message: InboundEmailMessage instance representing received email.