mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-25 15:32:52 +00:00
Revert "Return-Receipt-To is non standard"
This reverts commit f8eec8fe19
.
This commit is contained in:
parent
f8eec8fe19
commit
716884ef5d
1 changed files with 5 additions and 0 deletions
|
@ -402,6 +402,11 @@ public class MessageHelper {
|
|||
// 1=Delivery receipt
|
||||
// 2=Read+delivery receipt
|
||||
|
||||
// defacto standard
|
||||
if (receipt_type == 1 || receipt_type == 2) // Delivery receipt
|
||||
imessage.addHeader("Return-Receipt-To", to);
|
||||
|
||||
|
||||
// https://tools.ietf.org/html/rfc3798
|
||||
if (receipt_type == 0 || receipt_type == 2) // Read receipt
|
||||
imessage.addHeader("Disposition-Notification-To", to);
|
||||
|
|
Loading…
Reference in a new issue