[Imap-protocol] GMail and Content-Type: text/x-p atch, Content-Disposition: inline; filename =blah.patch
Jan Kundrát <[email protected]> Tue, 25 Nov 2014 11:31:29 +0100
| Newsgroups | gmane.mail.imap.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Brandon,
I was talking with Gerrit's developers about how to improve the e-mails
they generate (Gerrit is a patch review system tightly integrated with
Git). They told me that GMail's web interface doesn't show the patch
inline, as requested. Here's how the generated e-mail looks like:
* Content-Type: multipart/mixed
|
+--* Content-Type: text/plain; charset=utf-8; format=flowed
| (the textual description)
|
+--* Content-Type: text/x-patch
Content-Disposition: inline; filename=0001-blah-blah.patch
Content-Transfer-Encoding: base64
(the patch goes here)
What I was hoping to achieve was a display of both parts in sequence, as if
the e-mail was embedded into the main textual body part. What I got back
instead is the rendering shown in the attached image.
Is there something I could do to let GMail render the patch as-is, without
extra clicking, while at the same time making it possible to open the patch
in an external viewer by other clients?
With kind regards,
Jan
--
Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/
_______________________________________________
Imap-protocol mailing list
[email protected]
http://mailman13.u.washington.edu/mailman/listinfo/imap-protocol
inline.png
(image/png, 39.4 KB) - not displayed