PowerTCP Mail for .NET
ImapCode Enumeration




Represents IMAP response codes.
Syntax
Public Enum ImapCode 
   Inherits System.Enum
Dim instance As ImapCode
public enum ImapCode : System.Enum 
__value public enum ImapCode : public System.Enum 
public enum class ImapCode : public System.Enum 
Members
MemberDescription
AlertThe response contains an alert which must be shown to the user.
BadCharsetA SEARCH operation failed due to an unsupported charset.
CapabilityThe response contains a list of IMAP server capabilities. This type of response also populates MailBase.Capabilities.
NewNameAn operation failed because the Mailbox was renamed.
NoneNo response code provided.
ParseAn error occurred during the parsing of message headers.
PermanentFlagsThe response contains a list of all flags that can be changed permanently within the mailbox and its messages. Any flags not on this list should not be set. A value of "\*" means new, non-standard flags can be created.
ReadOnlyThe selected mailbox is read-only.
ReadWriteThe selected mailbox is read-write.
TryCreateAn executing command failed because the target mailbox does not exist. The target mailbox may need to be created prior to issuing the command that failed.
UidNextThe response includes the UIDNEXT value for the selected mailbox, indicating the UID of the next created message.
UidValidityThe response includes the UIDVALIDITY value for the selected mailbox. This value can be used in combination with message UIDs to uniquely identify messages between sessions.
UnseenIndicates the number (position id) of the first unseen message in the selected mailbox.
Remarks

This enumeration represents the code returned in an IMAP server response. Response codes are optional and contain additional information beyond status. See ImapResponse.Code.

For example, if the server response is

* OK [UIDVALIDITY 3857529045] UIDs valid

ImapResponse.Code is ImapCode.UidValidity.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Dart.Mail.ImapCode

See Also

Reference

Dart.Mail Namespace


PowerTCP Mail for .NET Documentation Version 4.3
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic