Dart Smtp, Pop, Imap Controls
MailErrorConstants Enumeration
Description
Enumerates Mail-Specific Errors
Members
MemberValueDescription
mailAbort11103The Abort method was called. FATAL.
mailAddressInUse10048Address already in use. Only one usage of each socket address (protocol/IP address/port) is normally permitted. This error occurs if an application attempts to bind() a socket to an IP address/port that has already been used for an existing socket, or a socket that wasn't closed properly, or one that is still in the process of closing. For server applications that need to bind() multiple sockets to the same port number, the ReuseAddress property can be used. FATAL.
mailAddressNotAvailable10049Cannot assign requested address. The requested address is not valid in its context. Normally results from an attempt to bind() to an address that is not valid for the local machine. This may also result from connect(), sendto(), WSAConnect(), WSAJoinLeaf(), or WSASendTo() when the remote address or port is not valid for a remote machine (for example, address or port 0). FATAL.
mailAttachUuencode15008Only (uuencoded) files may be attached to this non-MIME message.  Consider using MIME or putting all text in the Message.Data property area.
mailAuthentication12012Authentication with the server failed. FATAL.
mailBadConfigItem15003Invalid Configuration Item
mailBadDataType15021Cannot create the requested data type or format.
mailBadRecipient15020Mail Recipient Not Accepted.
mailBadSender15019Sender address not accepted.
mailBlocked12011User thread is blocking in another method. INFO.
mailCompile12013An error occurred while compiling
mailConnected12014A connection already exists
mailConnectionAborted10053Software caused connection abort. An established connection was aborted by the software in your host machine, possibly due to a data transmission timeout or protocol error. FATAL.
mailConnectionRefused10061Connection refused. No connection could be made because the target machine actively refused it. This usually results from trying to connect to a service that is inactive on the foreign host (for example,. one with no server application running). May also be generated by a Daemon that refuses a connection because its resources have been exhausted. FATAL.
mailConnectionReset10054Connection reset by peer. An existing connection was forcibly closed by the remote host. This normally results if the peer application on the remote host is suddenly stopped, the host is rebooted, or the remote host used a "hard close" (see Abort method) on the remote socket. This error may also result if a connection was broken due to keep-alive activity detecting a failure while one or more operations are in progress. Operations that were in progress fail with ptNetworkReset. Subsequent operations fail with ptConnectionReset. FATAL.
mailDuplicateMessage15022Message object already exists in collection.
mailError11100Unexpected general error. FATAL.
mailFile11102Error accessing local file storage. FATAL.
mailFileOpen15000Unable to open file.
mailFileOperation15007A file operation (such as size) had failed.
mailFileRead15009A file read error has caused the operation to fail.
mailFileWrite15006A file write error has occurred. Check disk free space.
mailFormatError12015The server was unable to interpret the query.
mailHeader12101Occurs when a proper termination (usually a CRLFCRLF) is not found in the header.
mailHostNotFound11001Host not found. No such host is known. The name is not an official hostname or alias, or it cannot be found in the database(s) being queried. This error may also be returned for protocol and service queries, and means the specified name could not be found in the relevant database. FATAL.
mailHostUnreachable10065Remote host does not exist
mailHttpInvalidUrl12005The Url is unspecified or invalid.
mailInvalidMailAddress12021The Email address specified was not valid.
mailInvalidMessageHeader15005A recipient, from, and subject are needed for a valid message header.
mailInvalidParam112001Parameter #1 is invalid. INFO.
mailInvalidParam212002Parameter #2 is invalid. INFO.
mailInvalidParam312003Parameter #3 is invalid. INFO.
mailInvalidParam412004Parameter #4 is invalid. INFO.
mailInvalidProperty12009Invalid property assignment. INFO.
mailInvDecodeType15002An invalid or unsupported Decode Type was specified.
mailMsgObjRead15016An error has occurred while reading data from the Message object. Verify the Message object contents.
mailNetworkDown10050Network is down. A socket operation encountered a dead network. This could indicate a serious failure of the network system (for example,. the protocol stack that the Winsock DLL runs over), the network interface, or the local network itself. FATAL.
mailNetworkReset10052Network dropped connection on reset. The connection has been broken due to keep-alive activity detecting a failure while the operation was in progress. FATAL.
mailNetworkUnreachable10051Network is unreachable. A socket operation was attempted to an unreachable network. This usually means the local software knows no route to reach the remote host. FATAL.
mailNoAccess10013The user does not have the proper permissions
mailNoAuthMech15031No authentication mechanism was found in the server's advertised capabilities, a secure connection may be required.
mailNoBufferSpace10055No buffer space available. An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full. FATAL.
mailNoCertificate12020There was an error in creating credentials.
mailNoData11004Valid name, no data record of requested type. The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for. The usual example for this is a hostname -> address translation attempt which uses the DNS, and an MX record is returned but no A record - indicating the host itself exists but is not directly reachable. FATAL.
mailNoHeader15015The message is invalid because the header was not found.
mailNoMemory15001There was not enough memory available to complete the operation.
mailNoMessageHeader15012The message does not contain a valid header.
mailNoRecipientsFound15013The message header does not contain any (valid) recipients (To).
mailNoRecovery11003This is a non-recoverable error. This indicates some sort of non-recoverable error occurred during a database lookup. This may be because the database files (for example, BSD-compatible HOSTS, SERVICES or PROTOCOLS files) could not be found, or a DNS (Domain Name Server) request was returned by the server with a severe error. FATAL.
mailNoSecurity12022Secure communications is not available on this machine.
mailNotConnected10057Socket is not connected. A request to send or receive data was disallowed because the socket is not connected or allocated. Any other type of operation might also return this error. FATAL.
mailNotFound12017The name referred to in the query does not exist.
mailNotImplemented12018The server does not support the request type of query.
mailNotInitialized10093Network interface could not be initialized. FATAL.Host not found. No such host is known. The name is not an official hostname or alias, or it cannot be found in the database(s) being queried. This error may also be returned for protocol and service queries, and means the specified name could not be found in the relevant database. FATAL.
mailNotInSpoolMode15017Method not allowed when spool mail mode is active.
mailNotMessageObject15014The passed object is not a Message object.
mailNotPartObject15011The operation requested requires an object of type Part.
mailOk0Ok
mailOnlyInSpoolMode15018The DeSpool Method is only available when mail spooling is enabled.
mailOperationRefused12019The server refused to perform the specified operation.
mailOptionNotSupported10042The specified socket option is not supported by the system. INFO.
mailPartInStructure15010The Part to Add already exists in this structure.
mailProtocol11101Unexpected protocol error. FATAL.
mailServerError12016There was a failure on the server.
mailSocks4DifferentUserID12093The SOCKS4 server rejected the connection because the client program and identd report different user-ids
mailSocks4NoAcceptableMethods12024The SOCKS5 server will not accept any of the requested methods
mailSocks4NoIdentd12092The SOCKS4 server rejected the connection because it was unable to connect to identd on the client
mailSocks4RequestRejected12091The SOCKS4 server rejected the connection (No reason given)
mailSocks5AddressTypeNotSupported12038The SOCKS5 server reported that the address type is not supported
mailSocks5AuthFailed12039The SOCKS5 server rejected the connection because authorization failed
mailSocks5CommandNotSupported12037The SOCKS5 server reported that the command is not supported
mailSocks5ConnectionRefused12035The SOCKS5 server reported that the host connection was refused
mailSocks5HostUnreachable12034The SOCKS5 server reported that the host was unreachable
mailSocks5NetworkUnreachable12033The SOCKS5 server reported that the network was unreachable
mailSocks5NoRuleSet12032The SOCKS5 server reported that the connection was not allowed by the ruleset
mailSocks5ServerFailure12031The SOCKS5 server reported a general failure
mailSocks5TTLExpired12036The SOCKS5 server reported that the TTL has expired
mailTimeout10060Timed out. A connection attempt failed because the connected party did not properly respond after a period of time, or an established connection failed because connected host has failed to respond. Alternatively, a blocked method failed to return within the period specified by the Timeout property. FATAL.
mailTryAgain11002Non-authoritative host not found. This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. A retry at some time later may be successful. FATAL.
mailUseMimeEncode15004mailUseMimeEncoding must be Always, Never, or Smallest

PowerTCP SSL for ActiveX Documentation Version 2.2.1
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic