Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Return the entire formatted message as a string.
Optional `unixfrom' when True, means include the Unix From_ envelope
header.

This is a convenience method and may not generate the message exactly
as you intend because by default it mangles lines that begin with
"From ".  For more flexibility, use the flatten() method of a
Generator instance.

src/f/l/flashbake-0.27/src/flashbake/plugins/mail.py   flashbake(Download)
            logging.info('Sending notice to %s.' % self.notice_to)
            logging.debug(body)
            s.sendmail(self.notice_from, [self.notice_to], msg.as_string())
            logging.info('Notice sent.')
            s.close()

src/f/l/flashbake-HEAD/src/flashbake/plugins/mail.py   flashbake(Download)
            logging.info('Sending notice to %s.' % self.notice_to)
            logging.debug(body)
            s.sendmail(self.notice_from, [self.notice_to], msg.as_string())
            logging.info('Notice sent.')
            s.close()