Re: [Imap-protocol] GMail and Content-Type: text/x-patch, Content-Disposition: inline; filename=blah.patch

Brandon Long <[email protected]> Wed, 3 Dec 2014 14:10:35 -0800
Newsgroups gmane.mail.imap.general
Message-ID <CABa8R6udVLch=-LfD1XTE-TejoMwvq=+1x4NTkdvwAY5xfEnDA@mail.gmail.com>
This seems way out of IMAP territory, but I've filed a bug for the frontend
team to look at it.

Brandon

On Tue, Nov 25, 2014 at 2:31 AM, Jan Kundrát <[email protected]> wrote:

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

_______________________________________________
Imap-protocol mailing list
[email protected]
http://mailman13.u.washington.edu/mailman/listinfo/imap-protocol