summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2024-01-17 11:06:59 +0100
committerJannis M. Hoffmann <jannis@fehcom.de>2024-01-17 11:06:59 +0100
commit285fa4d40144c4c81fafe7865dfdf866b8ddf980 (patch)
treeef910a556e21dfa6b9c9e3f78e6e8986e0f28e55 /src
parent1ed8ec01208ef69d65780c0509d42a9a25eaff3a (diff)
allow qp-cte in non text content types
Diffstat (limited to 'src')
-rw-r--r--src/rfc822.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rfc822.rs b/src/rfc822.rs
index b3edca8..6944715 100644
--- a/src/rfc822.rs
+++ b/src/rfc822.rs
@@ -341,6 +341,7 @@ fn parse_mail_body(pm: &ParsedMail) -> Result<MailBody, maildir::MailEntryError>
}
}
Body::SevenBit(eb) => eb.get_as_string()?,
+ Body::QuotedPrintable(eb) => eb.get_decoded_as_string()?,
_ => todo!(),
};
MailBody::Discrete(b)