parameters: (self, sender, options=[])
return_statement: return self.getreply()
docstring: SMTP 'mail' command -- begins mail xfer session.
docstring_summary: SMTP 'mail' command -- begins mail xfer session.
docstring_tokens: SMTP mail command -- begins mail xfer session .
function: def mail(self, sender, options=[]):
          """SMTP 'mail' command -- begins mail xfer session."""
          optionlist = ''
          if options and self.does_esmtp:
              optionlist = ' ' + ' '.join(options)
          self.putcmd("mail", "FROM:%s%s" % (quoteaddr(sender), optionlist))
          return self.getreply()
function_tokens: def mail ( self , sender , options = [ ] ) : optionlist = '' if options and self . does_esmtp : optionlist = ' ' + ' ' . join ( options ) self . putcmd ( "mail" , "FROM:%s%s" % ( quoteaddr ( sender ) , optionlist ) ) return self . getreply ( )