From ff0bb24f95f251526003bdf979363500b8d1f525 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 7 Dec 2018 19:54:01 +0100 Subject: [PATCH] Added some documentation --- app/src/main/java/eu/faircode/email/ServiceSynchronize.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java index b9e0830722..c36348ce12 100644 --- a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java +++ b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java @@ -1661,9 +1661,11 @@ public class ServiceSynchronize extends LifecycleService { if (ident.replyto != null) imessage.setReplyTo(new Address[]{new InternetAddress(ident.replyto)}); + // defacto standard if (ident.delivery_receipt) imessage.addHeader("Return-Receipt-To", ident.replyto == null ? ident.email : ident.replyto); + // https://tools.ietf.org/html/rfc3798 if (ident.read_receipt) imessage.addHeader("Disposition-Notification-To", ident.replyto == null ? ident.email : ident.replyto);