chiark / gitweb /
Allow multipart templates for patch e-mails (bug #10237)
[stgit] / templates / mailattch.tmpl
1 From: %(sender)s
2 Subject: [%(prefix)sPATCH%(version)s%(number)s] %(shortdescr)s
3 Mime-Version: 1.0
4 Content-Type: multipart/mixed; boundary=MIMEBOUNDARY
5
6 This is a MIME message.
7
8 --MIMEBOUNDARY
9 Content-Type: text/plain
10 Content-Disposition: inline
11
12 %(fromauth)s%(longdescr)s
13 ---
14
15 %(diffstat)s
16 --MIMEBOUNDARY
17 Content-Type: text/plain; name=%(patch)s.patch
18 Content-Disposition: attachment; filename=%(patch)s.patch
19
20 %(diff)s
21 --MIMEBOUNDARY--