mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Replace correlation header
This commit is contained in:
parent
7971c4ee1e
commit
966cb48513
1 changed files with 3 additions and 0 deletions
|
@ -957,7 +957,10 @@ class Core {
|
||||||
try (InputStream is = new BufferedInputStream(new FileInputStream(file))) {
|
try (InputStream is = new BufferedInputStream(new FileInputStream(file))) {
|
||||||
imessage = new MimeMessageEx(isession, is, message.msgid);
|
imessage = new MimeMessageEx(isession, is, message.msgid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
imessage.removeHeader(MessageHelper.HEADER_CORRELATION_ID);
|
||||||
imessage.addHeader(MessageHelper.HEADER_CORRELATION_ID, message.msgid);
|
imessage.addHeader(MessageHelper.HEADER_CORRELATION_ID, message.msgid);
|
||||||
|
|
||||||
imessage.saveChanges();
|
imessage.saveChanges();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue