'SMTP \'mail\' command -- begins mail xfer session.'

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()
