aboutsummaryrefslogtreecommitdiffstats
path: root/src/constants.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2005-03-23 08:23:55 +0000
committerVincent Richard <[email protected]>2005-03-23 08:23:55 +0000
commitaeb5da43242ab1be2c9f955f855bf901ac43513a (patch)
tree789f58bbc9bd8d92d0c737928d4dda4adf2897c4 /src/constants.cpp
parentFixed multiple bugs in POP3 protocol. (diff)
downloadvmime-aeb5da43242ab1be2c9f955f855bf901ac43513a.tar.gz
vmime-aeb5da43242ab1be2c9f955f855bf901ac43513a.zip
Basic support for 'Disposition' header field.
Diffstat (limited to 'src/constants.cpp')
-rw-r--r--src/constants.cpp44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/constants.cpp b/src/constants.cpp
index 55de71fb..d4feec9f 100644
--- a/src/constants.cpp
+++ b/src/constants.cpp
@@ -176,6 +176,50 @@ namespace fields
const string::value_type* const X_MAILER = "X-Mailer";
const string::value_type* const X_PRIORITY = "X-Priority";
+
+ // RFC-3798: Message Disposition
+ const string::value_type* const ORIGINAL_MESSAGE_ID = "Original-Message-ID";
+ const string::value_type* const DISPOSITION_NOTIFICATION_TO = "Disposition-Notification-To";
+ const string::value_type* const DISPOSITION_NOTIFICATION_OPTIONS = "Disposition-Notification-Options";
+ const string::value_type* const DISPOSITION = "Disposition";
+ const string::value_type* const FAILURE = "Failure";
+ const string::value_type* const ERROR = "Error";
+ const string::value_type* const WARNING = "Warning";
+ const string::value_type* const ORIGINAL_RECIPIENT = "Original-Recipient";
+ const string::value_type* const FINAL_RECIPIENT = "Final-Recipient";
+ const string::value_type* const REPORTING_UA = "Reporting-UA";
+ const string::value_type* const MDN_GATEWAY = "MDN-Gateway";
+}
+
+
+// Constants for disposition action modes (RFC-3978).
+namespace dispositionActionModes
+{
+ const string::value_type* const MANUAL = "manual";
+ const string::value_type* const AUTOMATIC = "automatic";
+}
+
+
+// Constants for disposition sending modes (RFC-3798).
+namespace dispositionSendingModes
+{
+ const string::value_type* const SENT_MANUALLY = "MDN-sent-manually";
+ const string::value_type* const SENT_AUTOMATICALLY ="MDN-sent-automatically";
+}
+
+
+// Constants for disposition types (RFC-3798).
+namespace dispositionTypes
+{
+ const string::value_type* const DISPLAYED = "displayed";
+ const string::value_type* const DELETED = "deleted";
+}
+
+
+// Constants for disposition modifiers (RFC-3798).
+namespace dispositionModifiers
+{
+ const string::value_type* const ERROR = "error";
}