Properly encode the e-mail headers and body
authorCatalin Marinas <catalin.marinas@gmail.com>
Tue, 7 Nov 2006 19:03:48 +0000 (19:03 +0000)
committerCatalin Marinas <catalin.marinas@gmail.com>
Tue, 7 Nov 2006 19:03:48 +0000 (19:03 +0000)
commit61eed15276863e203a70870caa84daab60765c40
treea7a9437098d03fb4e7b4639c76c7097c6c337ecd
parentb839b1cf42be33947adb87d6a2ae2164aad2371e
Properly encode the e-mail headers and body

The headers are QP-encoded and the body is left as utf-8. The mail command
now uses the email Python package for setting the headers and encoding. The
template files were modified as there is no need for "Date:" and
"%(endofheaders)s".

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
stgit/commands/mail.py
templates/covermail.tmpl
templates/patchmail.tmpl