~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/mail_client.py

  • Committer: Robert J. Tanner
  • Date: 2009-04-20 08:37:32 UTC
  • mfrom: (4299 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4300.
  • Revision ID: tanner@real-time.com-20090420083732-bzx919oo7wpmqc2u
[merge] 1.14rc2 back into bzr.dev (Bob Tanner)

Show diffs side-by-side

added added

removed removed

Lines of Context:
267
267
            message_options.extend(['-a',
268
268
                self._encode_path(attach_path, 'attachment')])
269
269
        if to is not None:
270
 
            message_options.append(self._encode_safe(to))
 
270
            message_options.extend(['--', self._encode_safe(to)])
271
271
        return message_options
272
272
mail_client_registry.register('mutt', Mutt,
273
273
                              help=Mutt.__doc__)
485
485
    """Default Windows mail client launched using MAPI."""
486
486
 
487
487
    def _compose(self, prompt, to, subject, attach_path, mime_subtype,
488
 
                 extension, body):
 
488
                 extension, body=None):
489
489
        """See ExternalMailClient._compose.
490
490
 
491
491
        This implementation uses MAPI via the simplemapi ctypes wrapper