~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/email_message.py

  • Committer: Vincent Ladeuil
  • Date: 2016-01-21 10:50:35 UTC
  • mfrom: (6609 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6610.
  • Revision ID: v.ladeuil+lp@free.fr-20160121105035-r67vcb49o142g2li
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
149
149
 
150
150
    @staticmethod
151
151
    def send(config, from_address, to_address, subject, body, attachment=None,
152
 
            attachment_filename=None, attachment_mime_subtype='plain'):
 
152
             attachment_filename=None, attachment_mime_subtype='plain'):
153
153
        """Create an email message and send it with SMTPConnection.
154
154
 
155
155
        :param config: config object to pass to SMTPConnection constructor.