vim: improve the way messages are sent
authorFelipe Contreras <felipe.contreras@gmail.com>
Thu, 1 May 2014 22:57:54 +0000 (17:57 -0500)
committerDavid Bremner <david@tethera.net>
Fri, 2 May 2014 21:00:22 +0000 (06:00 +0900)
commitcc8c213bbc9572fa96c1b384225b69136a3fd0e4
tree1e74e505bc955ccd02f76a3e4e8352d1279c4091
parent468deca60c062b6b3085ff1de41647f41cd6abd1
vim: improve the way messages are sent

We want the proper encoding and content-type to be set when sending the
mail, but human-readable plain-text for composing. So split the code in
two parts: the presentation and the transport conversion.

This fixes an issue while sending non-ascii mails to strict servers; the
mail needs to be encoded.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
vim/notmuch.vim