MailBee.NET Objects 4.0

MailBeeImapInvalidEnvelopeException Class

The exception that is thrown when MailBee encounters FETCH response which could not be completely parsed.

For a list of all members of this type, see MailBeeImapInvalidEnvelopeException Members.

System.Object
   System.Exception
      System.ApplicationException
         MailBee.MailBeeException
            MailBee.MailBeeNetworkException
               MailBee.MailBeeRemoteHostException
                  MailBee.MailBeeProtocolException
                     MailBee.MailBeeEmailProtocolException
                        MailBee.ImapMail.MailBeeImapInvalidEnvelopeException

public class MailBeeImapInvalidEnvelopeException : MailBeeEmailProtocolException

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

If this exception occurs, the IsValid property of the corresponding Envelope object will be set to false. The common reason of occurrence of this exception is errors in the mail server implementation.

This exception is thrown to the application code only when it occurs during execution of methods which return a single object (such as DownloadEntireMessage). Methods which return collections of objects (such as DownloadEntireMessages, DownloadEnvelopes, etc) only raise ErrorOccurred event passing this exception as Reason value. The execution then continues. This allows the application to skip the invalid envelope or message and proceed with subsequent messages if any.

Requirements

Namespace: MailBee.ImapMail

Assembly: MailBee.NET (in MailBee.NET.dll)

See Also

MailBeeImapInvalidEnvelopeException Members | MailBee.ImapMail Namespace | Envelope