Return-Receipt-To is non standard

https://datatracker.ietf.org/doc/html/rfc2076
This commit is contained in:
M66B 2021-12-15 18:14:14 +01:00
parent 1e0870d660
commit f8eec8fe19
1 changed files with 0 additions and 5 deletions

View File

@ -402,11 +402,6 @@ 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);