Imap Response Code Type Enumeration
An enumeration of the known IMAP response codes.
Definition
Namespace: MailKit.Net.Imap
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public enum ImapResponseCodeTypeRemarks
IMAP response codes are the bracketed atoms (such as [TRYCREATE]) that a server may include in a status response (OK, NO, BAD, PREAUTH or BYE) in order to provide additional, machine-readable information about the response.
Response codes that are not recognized by MailKit are represented by Unknown; the original atom is still available via the Atom property.
Members
| Alert | 0 | The ALERT response code indicates that the human-readable text of the response is a special alert that must be presented to the user. |
| BadCharset | 1 | The BADCHARSET response code indicates that a SEARCH failed because the specified charset is not supported by the server. |
| Capability | 2 | The CAPABILITY response code contains a list of the server's capabilities. |
| NewName | 3 | The NEWNAME response code indicates that the requested mailbox has been renamed. |
| Parse | 4 | The PARSE response code indicates that the server failed to parse the headers of a message. |
| PermanentFlags | 5 | The PERMANENTFLAGS response code contains the list of flags that the client can change permanently in the selected mailbox. |
| ReadOnly | 6 | The READ-ONLY response code indicates that the mailbox is selected read-only. |
| ReadWrite | 7 | The READ-WRITE response code indicates that the mailbox is selected read-write. |
| TryCreate | 8 | The TRYCREATE response code indicates that an APPEND or COPY failed because the target mailbox does not exist. |
| UidNext | 9 | The UIDNEXT response code contains the next unique identifier value of the mailbox. |
| UidValidity | 10 | The UIDVALIDITY response code contains the unique identifier validity value of the mailbox. |
| Unseen | 11 | The UNSEEN response code contains the sequence number of the first unseen message in the mailbox. |
| Referral | 12 | The REFERRAL response code contains one or more IMAP URLs that the client should use instead. |
| UnknownCte | 13 | The UNKNOWN-CTE response code indicates that the server does not know how to decode the Content-Transfer-Encoding of the requested body part. |
| AppendUid | 14 | The APPENDUID response code contains the unique identifiers assigned to the appended message(s). |
| CopyUid | 15 | The COPYUID response code contains the unique identifiers of the source messages and the unique identifiers assigned to the copied messages. |
| UidNotSticky | 16 | The UIDNOTSTICKY response code indicates that the selected mailbox does not support persistent unique identifiers. |
| UrlMech | 17 | The URLMECH response code contains the list of URLAUTH mechanisms supported by the server. |
| BadUrl | 18 | The BADURL response code indicates that a CATENATE URL could not be resolved. |
| TooBig | 19 | The TOOBIG response code indicates that the resulting message would be too large. |
| HighestModSeq | 20 | The HIGHESTMODSEQ response code contains the highest mod-sequence value of all messages in the mailbox. |
| Modified | 21 | The MODIFIED response code contains the messages that failed the UNCHANGEDSINCE test of a conditional STORE. |
| NoModSeq | 22 | The NOMODSEQ response code indicates that the selected mailbox does not support persistent mod-sequences. |
| CompressionActive | 23 | The COMPRESSIONACTIVE response code indicates that compression is already active. |
| Closed | 24 | The CLOSED response code indicates that the previously selected mailbox has been closed. |
| NotSaved | 25 | The NOTSAVED response code indicates that the server is unable to save the search result. |
| BadComparator | 26 | The BADCOMPARATOR response code indicates that the requested comparator is not supported. |
| Annotate | 27 | The ANNOTATE response code indicates that an annotation could not be stored. |
| Annotations | 28 | The ANNOTATIONS response code contains the annotation capabilities of the selected mailbox. |
| MaxConvertMessages | 29 | The MAXCONVERTMESSAGES response code indicates the maximum number of messages that can be converted by a single CONVERT command. |
| MaxConvertParts | 30 | The MAXCONVERTPARTS response code indicates the maximum number of body parts that can be converted by a single CONVERT command. |
| TempFail | 31 | The TEMPFAIL response code indicates that a conversion failed due to a temporary condition. |
| NoUpdate | 32 | The NOUPDATE response code indicates that the server will not send updates for the specified CONTEXT search. |
| Metadata | 33 | The METADATA response code provides information about a GETMETADATA or SETMETADATA result. |
| NotificationOverflow | 34 | The NOTIFICATIONOVERFLOW response code indicates that the server has disabled notifications because it could not keep up. |
| BadEvent | 35 | The BADEVENT response code indicates that the server does not support one or more of the requested NOTIFY events. |
| UndefinedFilter | 36 | The UNDEFINED-FILTER response code indicates that the requested search filter does not exist. |
| Unavailable | 37 | The UNAVAILABLE response code indicates that a temporary failure occurred because a subsystem is down. |
| AuthenticationFailed | 38 | The AUTHENTICATIONFAILED response code indicates that authentication failed. |
| AuthorizationFailed | 39 | The AUTHORIZATIONFAILED response code indicates that authentication succeeded but the authenticated user is not permitted to use the requested authorization identity. |
| Expired | 40 | The EXPIRED response code indicates that the credentials or data have expired. |
| PrivacyRequired | 41 | The PRIVACYREQUIRED response code indicates that the operation is not permitted without an encrypted connection. |
| ContactAdmin | 42 | The CONTACTADMIN response code indicates that the user should contact the system administrator. |
| NoPerm | 43 | The NOPERM response code indicates that the user does not have permission to perform the operation. |
| InUse | 44 | The INUSE response code indicates that the operation failed because a resource is in use by another process. |
| ExpungeIssued | 45 | The EXPUNGEISSUED response code indicates that another client expunged messages from the mailbox. |
| Corruption | 46 | The CORRUPTION response code indicates that the server discovered corrupt data. |
| ServerBug | 47 | The SERVERBUG response code indicates that the server encountered a bug in itself. |
| ClientBug | 48 | The CLIENTBUG response code indicates that the server believes the client has a bug. |
| CanNot | 49 | The CANNOT response code indicates that the operation violates an invariant of the server and can never succeed. |
| Limit | 50 | The LIMIT response code indicates that the operation exceeds a server limit. |
| OverQuota | 51 | The OVERQUOTA response code indicates that the user would exceed a quota. |
| AlreadyExists | 52 | The ALREADYEXISTS response code indicates that the target of the operation already exists. |
| NonExistent | 53 | The NONEXISTENT response code indicates that the target of the operation does not exist. |
| UseAttr | 54 | The USEATTR response code indicates that the requested special-use attribute is not supported. |
| MailboxId | 55 | The MAILBOXID response code contains the object identifier of a newly created mailbox. |
| WebAlert | 56 | The GMail-specific WEBALERT response code contains a URL that the user should visit, typically in order to re-enable access to their account. |
| InProgress | 57 | The INPROGRESS response code indicates that the server is still processing a command and may include an indication of how far it has progressed. |
| Unknown | 255 | An unrecognized response code. |