Make it possible to add X-Additional-Message-IDs to MDNs

This commit is contained in:
Alexander Krotov
2020-01-18 02:07:46 +03:00
parent 493bf5ed08
commit 9d4437a7f5
2 changed files with 37 additions and 14 deletions

View File

@@ -278,7 +278,7 @@ impl Job {
};
let msg = job_try!(Message::load_from_db(context, msg_id));
let mimefactory = job_try!(MimeFactory::from_mdn(context, &msg));
let mimefactory = job_try!(MimeFactory::from_mdn(context, &msg, Vec::new()));
let rendered_msg = job_try!(mimefactory.render());
let body = rendered_msg.message;