Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions mailredirector.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,19 @@ class MailRedirector(InboundMailHandler):

# Called by GAE when an email is received.
def receive(self, inmsg):
"""
Called by GAE when an email is received.

Args:
inmsg: The received email message.

Raises:
None

Returns:
None
"""

# log this msg for kicks
# download the logs to dev machine using:
# appcfg.py --severity=0 request_logs <appname> <file_to_dump> if not hasattr(inmsg, 'subject'):
Expand Down