src/server/mail.py
def post(self, name):
    """Transforms body to email request."""

    try:
      name = urllib.unquote(name).split('@')[0]
    except:
      pass

    # get the feed object
    feed = MailFeed.query(MailFeed.name == name).get()
    if feed is not None:
      self.receive(mail.InboundEmailMessage(self.request.body), feed)
    else:
      # 404 ?
      pass
Transforms body to email request.
Transforms body to email request.
Transforms body to email request .
def post(self, name):
    try:
      name = urllib.unquote(name).split('@')[0]
    except:
      pass
    feed = MailFeed.query(MailFeed.name == name).get()
    if feed is not None:
      self.receive(mail.InboundEmailMessage(self.request.body), feed)
    else:
      pass
def post ( self , name ) : try : name = urllib . unquote ( name ) . split ( '@' ) [ 0 ] except : pass feed = MailFeed . query ( MailFeed . name == name ) . get ( ) if feed is not None : self . receive ( mail . InboundEmailMessage ( self . request . body ) , feed ) else : pass
Transforms body to email request.
Transforms body to email request .
"""Transforms body to email request.""" # get the feed object # 404 ?
self
name