mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 22:56:33 +02:00
Added remarks
This commit is contained in:
@@ -4498,6 +4498,7 @@ public class MessageHelper {
|
||||
this.recipient = value;
|
||||
break;
|
||||
case "Status":
|
||||
// https://www.iana.org/assignments/smtp-enhanced-status-codes/smtp-enhanced-status-codes.xhtml
|
||||
this.status = value;
|
||||
break;
|
||||
case "Diagnostic-Code":
|
||||
@@ -4505,7 +4506,7 @@ public class MessageHelper {
|
||||
break;
|
||||
}
|
||||
} else if (isDispositionNotification(type)) {
|
||||
//https://datatracker.ietf.org/doc/html/rfc3798#section-3.2.6
|
||||
// https://datatracker.ietf.org/doc/html/rfc3798#section-3.2.6
|
||||
switch (name) {
|
||||
case "Reporting-UA":
|
||||
this.reporter = value;
|
||||
@@ -4539,6 +4540,10 @@ public class MessageHelper {
|
||||
return ("delivered".equals(action) || "relayed".equals(action) || "expanded".equals(action));
|
||||
}
|
||||
|
||||
boolean isDelayed() {
|
||||
return "delayed".equals(action);
|
||||
}
|
||||
|
||||
boolean isMdnManual() {
|
||||
return "manual-action".equals(getAction(0));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user