mmime: disregard line length restriction for message/rfc822 attachments

Many webmail client's don't like qp-encoded message/rfc822 attachments.
pull/63/head
Leah Neukirchen 7 years ago
parent b0d61b8275
commit 958ad4e9f6

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

Loading…
Cancel
Save