|
|
@ -4498,6 +4498,7 @@ public class MessageHelper {
|
|
|
|
this.recipient = value;
|
|
|
|
this.recipient = value;
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case "Status":
|
|
|
|
case "Status":
|
|
|
|
|
|
|
|
// https://www.iana.org/assignments/smtp-enhanced-status-codes/smtp-enhanced-status-codes.xhtml
|
|
|
|
this.status = value;
|
|
|
|
this.status = value;
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case "Diagnostic-Code":
|
|
|
|
case "Diagnostic-Code":
|
|
|
@ -4505,7 +4506,7 @@ public class MessageHelper {
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else if (isDispositionNotification(type)) {
|
|
|
|
} 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) {
|
|
|
|
switch (name) {
|
|
|
|
case "Reporting-UA":
|
|
|
|
case "Reporting-UA":
|
|
|
|
this.reporter = value;
|
|
|
|
this.reporter = value;
|
|
|
@ -4539,6 +4540,10 @@ public class MessageHelper {
|
|
|
|
return ("delivered".equals(action) || "relayed".equals(action) || "expanded".equals(action));
|
|
|
|
return ("delivered".equals(action) || "relayed".equals(action) || "expanded".equals(action));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
boolean isDelayed() {
|
|
|
|
|
|
|
|
return "delayed".equals(action);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
boolean isMdnManual() {
|
|
|
|
boolean isMdnManual() {
|
|
|
|
return "manual-action".equals(getAction(0));
|
|
|
|
return "manual-action".equals(getAction(0));
|
|
|
|
}
|
|
|
|
}
|
|
|
|