001 /*
002 * Copyright 2010 the original author or authors.
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016 package com.hs.mail.imap;
017
018 /**
019 *
020 * @author Won Chul Doh
021 * @since Mar 8, 2010
022 *
023 */
024 public interface ImapConstants {
025
026 public static final String INBOX_NAME = "INBOX";
027
028 public static final String NAMESPACE_PREFIX = "#";
029
030 /**
031 * Common header field names
032 */
033 public static final String RFC822_BCC = "Bcc";
034
035 public static final String RFC822_CC = "Cc";
036
037 public static final String RFC822_FROM = "From";
038
039 public static final String RFC822_DATE = "Date";
040
041 public static final String RFC822_SUBJECT = "Subject";
042
043 public static final String RFC822_TO = "To";
044
045 public static final String RFC822_SENDER = "Sender";
046
047 public static final String RFC822_REPLY_TO = "Reply-To";
048
049 public static final String RFC822_IN_REPLY_TO = "In-Reply-To";
050
051 public static final String RFC822_MESSAGE_ID = "Message-ID";
052
053 public static final String RFC822_RETURN_PATH = "Return-Path";
054
055 /**
056 * Capabilities
057 */
058 public static final String VERSION = "IMAP4rev1";
059
060 public static final String ACL = "ACL"; // RFC4314
061
062 public static final String CHILDREN = "CHILDREN"; // RFC3348
063
064 public static final String LITERAL_PLUS = "LITERAL+"; // RFC2088
065
066 public static final String LOGINDISABLED = "LOGINDISABLED"; // RC2595, RFC3501
067
068 public static final String NAMESPACE = "NAMESPACE"; // RFC2342
069
070 public static final String QUOTA = "QUOTA"; // RFC2087
071
072 public static final String SORT = "SORT"; // RFC5256
073
074 public static final String STARTTLS = "STARTTLS"; // RFC2595, RFC3501
075
076 public static final String UIDPLUS = "UIDPLUS"; // RFC4315
077
078 }