mblaze

Unix utilities to deal with Maildir - my mirror
git clone https://pi.duncano.de/git/mblaze.git
Log | Files | Refs | README | COPYING

commit 958ad4e9f634d71f5659b179c909449a6915fc51
parent b0d61b82750f7466349e34e8c1831664e701a460
Author: Leah Neukirchen <leah@vuxu.org>
Date:   Sun,  9 Jul 2017 18:46:00 +0200

mmime: disregard line length restriction for message/rfc822 attachments

Many webmail client's don't like qp-encoded message/rfc822 attachments.

Diffstat:
mmime.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/mmime.c b/mmime.c @@ -219,6 +219,9 @@ gen_file(char *file, char *ct) bithigh++; } + if (strcmp(ct, "message/rfc822") == 0 && maxlinelen < 997) + maxlinelen = 0; + gen_attachment(filename, cd); if (bitlow == 0 && bithigh == 0 &&