Added some documentation

This commit is contained in:
M66B 2018-12-07 19:54:01 +01:00
parent 7d65e2ee9a
commit ff0bb24f95
1 changed files with 2 additions and 0 deletions

View File

@ -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);