ErrorCodes Class
Provides error code values returned by ErrorCode property of MailBee exceptions and LastResult property of MailBee classes implementing this property.
Inheritance Hierarchy
SystemObject
  MailBeeErrorCodes

Namespace: MailBee
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public class ErrorCodes

The ErrorCodes type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberAbortedByLocalHost
The software on the local computer has aborted the connection.
Public fieldStatic memberAbortedByServer
The remote host has aborted the connection.
Public fieldStatic memberAbortedByUser
The current operation was aborted by user.
Public fieldStatic memberAlreadyConnected
Already connected to the server.
Public fieldStatic memberAlreadyLoggedIn
Already logged in the user account on the server.
Public fieldStatic memberAlreadySsl
Already in SSL/TLS mode.
Public fieldStatic memberArgumentEmpty
A null reference (Nothing in Visual Basic) or an empty string/array/collection is not allowed as the argument value.
Public fieldStatic memberArgumentInvalid
The specified argument value is invalid.
Public fieldStatic memberArgumentNull
A null reference (Nothing in Visual Basic) is not allowed as the argument value.
Public fieldStatic memberArgumentOutOfRange
The argument value is out of range.
Public fieldStatic memberBadCredentials
Invalid account name and/or password was supplied for the login.
Public fieldStatic memberBadDnsResponseHeader
The response from the DNS server contains invalid header.
Public fieldStatic memberBadMessageData
The SMTP server rejected the message data sent by the client.
Public fieldStatic memberBadRecipient
The SMTP server refused the e-mail address of the mail message recipient.
Public fieldStatic memberBadSender
The SMTP server refused the e-mail address of the mail message sender.
Public fieldStatic memberBdatRejected
The server responded with a negative reply to BDAT command (although the server claims to support CHUNKING extension).
Public fieldStatic memberBdatTimeout
Socket timeout during SMTP BDAT command.
Public fieldStatic memberBusy
The component is busy with lengthy or asynchronous operation.
Public fieldStatic memberCertificateDataInvalid
Could not restore the certificate from the supplied data.
Public fieldStatic memberCertificateStoreWin32Error
Win32 function related to certificate store API returned an error.
Public fieldStatic memberCertificateValidationError
Certificate validation failed.
Public fieldStatic memberCertificateWin32Error
Certificate-related Win32 function returned an error.
Public fieldStatic memberConnectionRefused
The remote host refused the connection attempt initiated by the client.
Public fieldStatic memberConnectionReset
An existing connection was forcibly closed by the remote host.
Public fieldStatic memberConversion8bitTo7Bit
7bit-to-8bit conversion of the message data is required.
Public fieldStatic memberCryptographicException
Public fieldStatic memberCryptoPrivateKeyInvalid
Could not decode the private key.
Public fieldStatic memberCryptoProviderWin32Error
Win32 function related to a crypto provider API returned an error.
Public fieldStatic memberDataNotAllowed
The SMTP server responded with a negative reply to the DATA command.
Public fieldStatic memberDeadDomainSmtpMXesInCache
It's known (from the DNS cache) that all DNS MX records for the domain point to dead hosts.
Public fieldStatic memberDnsFailureReply
The DNS server replied with "Server failure" status code.
Public fieldStatic memberDnsFormatErrorReply
The DNS server replied with "Format Error" status code.
Public fieldStatic memberDnsInvalidQName
The specified host name does not conform with Domain Name System rules.
Public fieldStatic memberDnsNameErrorReply
The DNS server replied with "Name Error" status code.
Public fieldStatic memberDnsNotSupportedReply
The DNS server replied with "Not Implemented" status code.
Public fieldStatic memberDnsQueryMismatch
The ID of the DNS server response if different from the ID of the request sent by the client.
Public fieldStatic memberDnsQueryRefusedReply
The DNS server replied with "Refused" status code.
Public fieldStatic memberDnsRecursionRequired
The DNS server must support recursion in order to complete the request.
Public fieldStatic memberDnsUnknownReply
The DNS server replied with unknown status code.
Public fieldStatic memberEhloNotSupported
The SMTP server does not support any ESMTP extensions.
Public fieldStatic memberEmptyHostNameForDnsQuery
Cannot perform DNS query for an empty host name.
Public fieldStatic memberEmptyResponseLine
The response from the server contains just a response terminator but no data.
Public fieldStatic memberEncodingError
An exception occurred while performing string conversion.
Public fieldStatic memberEwsFolderAlreadyExists
EWS folder already exists.
Public fieldStatic memberEwsFolderNotFound
EWS folder not found.
Public fieldStatic memberEwsLocalException
Client-side EWS error occurred.
Public fieldStatic memberEwsRemoteException
Server-side EWS error occurred.
Public fieldStatic memberExternalError
The application code threw an exception while handling MailBee event.
Public fieldStatic memberFileNotFoundException
Public fieldStatic memberHostDown
The specified host is down.
Public fieldStatic memberHostNotFound
The specified host was not found.
Public fieldStatic memberHostUnreachable
There is no known network route to the specified host.
Public fieldStatic memberIllegalContext
The requested operation cannot be performed in the current context.
Public fieldStatic memberIllegalInCurrentState
The method cannot run in the current state of the object.
Public fieldStatic memberIllegalInMultiThreadMode
The requested operation cannot be performed in multi-thread mode.
Public fieldStatic memberIllegalRaiseEventsMode
Wait method cannot be used if RaiseEventsViaMessageLoop is true.
Public fieldStatic memberImapFolderNotSelected
This command requires a folder be selected on the IMAP4 server. Call SelectFolder(String) or ExamineFolder(String) first.
Public fieldStatic memberImapIdleNotSupported
The IMAP4 server does not support IDLE capability required to go into IDLE mode.
Public fieldStatic memberImapMessageIndexNotFound
The message with the specified index does not exist on the server.
Public fieldStatic memberImapNamespaceNotSupported
The IMAP4 server does not support NAMESPACE capability.
Public fieldStatic memberImapQuotaNotSupported
The IMAP4 server does not support QUOTA capability required to obtain account and folder quotas.
Public fieldStatic memberImapResponseNotFound
No required data found in the server response.
Public fieldStatic memberImapSortNotSupported
The IMAP4 server does not support SORT capability required to perform sorted search.
Public fieldStatic memberImapUidPlusNotSupported
The IMAP4 server does not support UIDPLUS capability required for the current operation to complete.
Public fieldStatic memberImpersonationWin32Error
Impersonation-related WinAPI function returned an error.
Public fieldStatic memberInconsistentResponse
The response data received from the server do not match the data previously received from the server.
Public fieldStatic memberInternalError
MailBee internal error. Please contact Afterlogic support team if you encounter this error.
Public fieldStatic memberInvalidBase64DataInResponse
The server response is expected to contain Base64 encoded data but this data cannot be decoded from base64.
Public fieldStatic memberInvalidBinaryResponse
The response received from the DNS server cannot be parsed.
Public fieldStatic memberInvalidDataFormat
The supplied data string or byte block has invalid format.
Public fieldStatic memberInvalidDataSyntax
The supplied data string (such as an e-mail address) has invalid syntax.
Public fieldStatic memberInvalidDateFormat
The supplied datetime string has invalid format.
Public fieldStatic memberInvalidDomainInCache
It's known (from the DNS cache) that the requested domain name does not exist.
Public fieldStatic memberInvalidImapEnvelope
The envelope data is corrupted or incorrect. Some properties of Envelope object may contain invalid values.
Public fieldStatic memberInvalidOperationException
Public fieldStatic memberInvalidResponse
The response received from the server cannot be parsed.
Public fieldStatic memberInvalidResponseItem
A particular element of the response data cannot be parsed.
Public fieldStatic memberIOException
IOException occurred.
Public fieldStatic memberJobInBatchFailed
One of the jobs in a batch failed and the component is configured to stop processing when this happens.
Public fieldStatic memberLicenseError
The license key is invalid or not specified.
Public fieldStatic memberLoginWin32Error
Win32 function related to Integrated Windows Authentication returned an error.
Public fieldStatic memberMessageDataTooLarge
The message is too large.
Public fieldStatic memberNegativeResponse
The server responded with the negative reply.
Public fieldStatic memberNoAllowedRecipients
The SMTP server refused the e-mail addresses of all the recipients of the mail message.
Public fieldStatic memberNoCredentials
No account name and/or password was supplied for the login.
Public fieldStatic memberNoDnsAttemptsLeft
The DNS server is down, and no more retry attempts left.
Public fieldStatic memberNoDnsServersAvailable
At least one DNS server IP must be registered in the system in order to start the requested operation.
Public fieldStatic memberNoDnsServersSpecified
At least one DNS server must be specified in order to start the requested operation.
Public fieldStatic memberNoDomainsForMXLookup
The list of recipient domains is empty.
Public fieldStatic memberNoDomainsToSendFor
The list of MX servers of recipient domains is empty.
Public fieldStatic memberNoIP4AddressesFound
No IPv4 compatible address has been found for the specified host.
Public fieldStatic memberNoMessageInImapResponse
No required mail message data found in the server response.
Public fieldStatic memberNoOperationToEnd
Asynchonous method completion with EndXXX method is not possible, since no corresponding BeginXXX method has been called before.
Public fieldStatic memberNoRecipients
No recipients are specified for the mail message.
Public fieldStatic memberNoSender
No sender is specified for the mail message. No longer used.
Public fieldStatic memberNoSmtpOrDnsServersSpecified
At least one DNS or SMTP relay server must be specified in order to send mail.
Public fieldStatic memberNoSmtpServersSpecified
At least one SMTP relay server must be specified in order to start the requested operation.
Public fieldStatic memberNoSupportedLoginMethods
None of the requested authentication methods is supported by the server.
Public fieldStatic memberNotConnected
Not yet connected to the server. Call Connect first.
Public fieldStatic memberNotHelloed
Not yet sent initial greeting to the SMTP server. Call Hello first.
Public fieldStatic memberNotImpersonated
Not impersonated yet. Call LogonAs(String, String, String) first.
Public fieldStatic memberNotLoggedIn
Not yet logged in the user account on the server. Call Login first.
Public fieldStatic memberObjectReadOnly
The object (e.g. collection) is read-only for user code.
Public fieldStatic memberOK
No error.
Public fieldStatic memberOleDocBuildingError
An OLE2 building error occurred.
Public fieldStatic memberOleDocParsingError
An OLE2 parsing error occurred.
Public fieldStatic memberOutlookPstParsingError
Outlook .PST file parsing error occurred.
Public fieldStatic memberPop3AuthCommandUnknown
The POP3 server does not support optional AUTH command. SASL authentication will be disabled.
Public fieldStatic memberPop3CapaCommandUnknown
The POP3 server does not support optional CAPA command. Certain POP3 extensions will be disabled.
Public fieldStatic memberProxyAuthMethodsNotAccepted
None of the methods listed by the client to the proxy server are acceptable.
Public fieldStatic memberProxyConnectionDeclined
The proxy server declined to act as a proxy gateway for the given client.
Public fieldStatic memberProxyGssApiAuthFailed
Proxy GSSAPI authentication Failed.
Public fieldStatic memberProxyUserPassAuthFailed
Proxy Username/Password authentication failed.
Public fieldStatic memberResponseTimeout
The operation was aborted because the total response time exceeded the limit set by the application.
Public fieldStatic memberSaslAnswerRejected
The server refused the authentication data sent by the client. Authentication failed.
Public fieldStatic memberSmimeWin32Error
S/MIME-related Win32 function returned an error.
Public fieldStatic memberSocketDisposed
The Socket object was unexpectedly closed.
Public fieldStatic memberSocketException
SocketException occurred.
Public fieldStatic memberSocketTimeout
The network operation has timed out.
Public fieldStatic memberSslNegoAuthException
SSL negotiation failed with AuthenticationException.
Public fieldStatic memberSslNegoException
SSL negotiation failed with Exception.
Public fieldStatic memberSslNegoIOException
SSL negotiation failed with IOException.
Public fieldStatic memberSslNegoNotSupportedException
SSL negotiation failed with NotSupportedException, ArgumentException, or Win32Exception.
Public fieldStatic memberSslWin32Error
SSL-related Win32 function returned an error.
Public fieldStatic memberStartTlsNotAvailable
The server does not advertize STARTTLS extension.
Public fieldStatic memberStreamCannotRead
The supplied Stream object cannot be read.
Public fieldStatic memberStreamCannotWrite
The supplied Stream object cannot be written to.
Public fieldStatic memberTnefAttributeChecksumInvalid
Invalid checksum on TNEF attribute.
Public fieldStatic memberTnefAttributeLevelInvalid
Invalid TNEF attribute level.
Public fieldStatic memberTnefCompressedRtfCrc32Failed
Compressed-RTF CRC32 failed.
Public fieldStatic memberTnefCompressedRtfDataSizeMismatch
Compressed-RTF data size mismatch.
Public fieldStatic memberTnefCompressedRtfHeaderInvalid
Invalid compressed-RTF header.
Public fieldStatic memberTnefGuidInvalid
Invalid TNEF Guid.
Public fieldStatic memberTnefLevelTypeInvalid
Invalid TNEF level type.
Public fieldStatic memberTnefMapiPropTypeInvalid
Invalid MAPI property type of TNEF data.
Public fieldStatic memberTnefMapiTypeUnknown
Unknown MAPI type of TNEF data.
Public fieldStatic memberTnefMapiValueInvalid
Invalid MAPI property value of TNEF data.
Public fieldStatic memberTnefSignatureInvalid
The supplied data does not have a valid TNEF signature.
Public fieldStatic memberTnefUnexpectedEndOfStream
Unexpected end of TNEF stream.
Public fieldStatic memberTnefUnknownRtfCompressionType
Unknown compression type.
Public fieldStatic memberUnauthorizedAccessException
Public fieldStatic memberUnknown
Unknown error.
Public fieldStatic memberUnsupportedLoginMethod
The requested authentication method is not supported by the server.
Public fieldStatic memberWebException
WebException occurred.
Public fieldStatic memberXmlException
XmlException occurred.
Top
Remarks

The MailBee classes implementing LastResult property are:

The following table lists all the error codes in ascending order:

NameValue
OK0
LicenseError1
Unknown2
Busy3
NoOperationToEnd4
AbortedByUser5
InternalError6
ExternalError7
IllegalInMultiThreadMode8
IllegalContext9
IllegalRaiseEventsMode10
IllegalInCurrentState11
ObjectReadOnly12
JobInBatchFailed13
ArgumentInvalid20
ArgumentNull21
ArgumentEmpty22
ArgumentOutOfRange23
IOException30
FileNotFoundException31
UnauthorizedAccessException32
XmlException33
WebException34
CryptographicException35
InvalidOperationException36
StreamCannotRead40
StreamCannotWrite41
EncodingError42
InvalidDateFormat43
InvalidDataFormat44
InvalidDataSyntax45
SocketException50
NoIP4AddressesFound51
SocketTimeout52
AbortedByLocalHost53
ConnectionRefused54
AbortedByServer55
HostNotFound56
HostDown57
HostUnreachable58
ConnectionReset59
SocketDisposed60
ResponseTimeout61
ProxyConnectionDeclined70
ProxyAuthMethodsNotAccepted71
ProxyUserPassAuthFailed72
ProxyGssApiAuthFailed73
NotConnected100
AlreadyConnected101
AlreadySsl102
NotLoggedIn110
AlreadyLoggedIn111
NoCredentials112
BadCredentials113
UnsupportedLoginMethod114
NoSupportedLoginMethods115
SaslAnswerRejected116
LoginWin32Error117
NegativeResponse120
InvalidResponse121
EmptyResponseLine122
InvalidBinaryResponse123
InconsistentResponse124
InvalidResponseItem125
InvalidBase64DataInResponse126
StartTlsNotAvailable130
SslWin32Error140
SslNegoIOException141
SslNegoNotSupportedException142
SslNegoAuthException143
SslNegoException144
BadDnsResponseHeader200
DnsInvalidQName201
DnsQueryMismatch210
DnsRecursionRequired211
NoDnsServersSpecified212
NoDnsAttemptsLeft213
NoDnsServersAvailable214
DnsFormatErrorReply220
DnsFailureReply221
DnsNameErrorReply222
DnsNotSupportedReply223
DnsQueryRefusedReply224
DnsUnknownReply225
NoSmtpServersSpecified300
NotHelloed310
EhloNotSupported311
NoSender312
BadSender313
NoRecipients314
BadRecipient315
NoAllowedRecipients316
DataNotAllowed317
BadMessageData318
BdatRejected319
MessageDataTooLarge320
BdatTimeout321
Conversion8bitTo7Bit330
NoSmtpOrDnsServersSpecified400
NoDomainsToSendFor401
NoDomainsForMXLookup402
EmptyHostNameForDnsQuery403
InvalidDomainInCache410
DeadDomainSmtpMXesInCache411
Pop3AuthCommandUnknown500
Pop3CapaCommandUnknown501
ImapFolderNotSelected600
ImapResponseNotFound610
ImapMessageIndexNotFound611
NoMessageInImapResponse612
InvalidImapEnvelope613
ImapUidPlusNotSupported620
ImapQuotaNotSupported621
ImapIdleNotSupported622
ImapSortNotSupported623
ImapNamespaceNotSupported624
EwsLocalException700
EwsRemoteException701
EwsFolderNotFound710
EwsFolderAlreadyExists711
TnefSignatureInvalid1000
TnefUnexpectedEndOfStream1001
TnefLevelTypeInvalid1002
TnefAttributeChecksumInvalid1003
TnefAttributeLevelInvalid1004
TnefMapiTypeUnknown1005
TnefGuidInvalid1006
TnefCompressedRtfHeaderInvalid1007
TnefCompressedRtfDataSizeMismatch1008
TnefCompressedRtfCrc32Failed1009
TnefUnknownRtfCompressionType1010
CryptoProviderWin32Error1100
CertificateStoreWin32Error1101
CertificateWin32Error1102
SmimeWin32Error1103
CertificateValidationError1110
CertificateDataInvalid1111
NotImpersonated1120
ImpersonationWin32Error1121
CryptoPrivateKeyInvalid1130
OleDocParsingError1200
OleDocBuildingError1201
OutlookPstParsingError1210

See Also