diff options
author | Leah Neukirchen <leah@vuxu.org> | 2017-07-09 18:46:00 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2017-07-09 18:46:00 +0200 |
commit | 958ad4e9f634d71f5659b179c909449a6915fc51 (patch) | |
tree | bdc7db946f46e6fcfc4715ea0a325cb825fde691 | |
parent | b0d61b82750f7466349e34e8c1831664e701a460 (diff) | |
download | mblaze-958ad4e9f634d71f5659b179c909449a6915fc51.tar.gz mblaze-958ad4e9f634d71f5659b179c909449a6915fc51.tar.xz mblaze-958ad4e9f634d71f5659b179c909449a6915fc51.zip |
mmime: disregard line length restriction for message/rfc822 attachments
Many webmail client's don't like qp-encoded message/rfc822 attachments.
-rw-r--r-- | mmime.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mmime.c b/mmime.c index 5d667b9..bc6e3bc 100644 --- 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 && |