james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [11/27] james-project git commit: JAMES-2132 Remove extra Disposition types
Date Fri, 01 Sep 2017 01:18:24 GMT
JAMES-2132 Remove extra Disposition types

RFC defines them in https://tools.ietf.org/html/rfc8098#section-3.2.6.2 as:

   The following disposition-types are defined:

   "displayed"         The message has been displayed by the MUA to
                       someone reading the recipient's mailbox.  There
                       is no guarantee that the content has been read or
                       understood.

   "dispatched"        The message has been sent somewhere in some
                       manner (e.g., printed, faxed, forwarded) without
                       necessarily having been previously displayed to
                       the user.  The user may or may not see the
                       message later.

   "processed"         The message has been processed in some manner
                       (i.e., by some sort of rules or server) without
                       being displayed to the user.  The user may or may
                       not see the message later, or there may not even
                       be a human user associated with the mailbox.

   "deleted"           The message has been deleted.  The recipient may
                       or may not have seen the message.  The recipient
                       might "undelete" the message at a later time and
                       read the message.


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/b254ac37
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/b254ac37
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/b254ac37

Branch: refs/heads/master
Commit: b254ac3773113b54138a72d4d42a917336f3c4fe
Parents: fdd5cf3
Author: benwa <btellier@linagora.com>
Authored: Mon Aug 28 17:38:46 2017 +0700
Committer: benwa <btellier@linagora.com>
Committed: Thu Aug 31 18:00:20 2017 +0700

----------------------------------------------------------------------
 mdn/src/main/java/org/apache/james/mdn/type/DispositionType.java | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/b254ac37/mdn/src/main/java/org/apache/james/mdn/type/DispositionType.java
----------------------------------------------------------------------
diff --git a/mdn/src/main/java/org/apache/james/mdn/type/DispositionType.java b/mdn/src/main/java/org/apache/james/mdn/type/DispositionType.java
index 2ce39b9..a70bdd1 100644
--- a/mdn/src/main/java/org/apache/james/mdn/type/DispositionType.java
+++ b/mdn/src/main/java/org/apache/james/mdn/type/DispositionType.java
@@ -28,10 +28,8 @@ import java.util.stream.Stream;
  */
 public enum DispositionType {
     Deleted("deleted"),
-    Denied("denied"),
     Dispatched("dispatched"),
     Displayed("displayed"),
-    Failed("failed"),
     Processed("processed");
 
     public static Optional<DispositionType> fromString(String value) {


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message