~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/mail_client.py

  • Committer: Jelmer Vernooij
  • Date: 2009-04-15 13:23:23 UTC
  • mto: This revision was merged to the branch mainline in revision 4294.
  • Revision ID: jelmer@samba.org-20090415132323-mhh0jisdupml4s1e
Mutt requires -- before the recipient address if -a is being used.

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