Make the posteo test pass

This commit is contained in:
Hocuri
2020-06-10 12:06:14 +02:00
parent 3899d70b3c
commit e1711855cc
2 changed files with 2 additions and 2 deletions

View File

@@ -894,7 +894,7 @@ impl MimeMessage {
if let Some(original_msg) = report
.subparts
.iter()
.find(|p| p.ctype.mimetype == "message/rfc822")
.find(|p| p.ctype.mimetype.contains("rfc822"))
{
let report_body = original_msg.get_body_raw()?;
let (report_fields, _) = mailparse::parse_headers(&report_body)?;