MailBee.NET Objects 4.0

MailBeeSmtpMessageSizeOutOfRangeException Class

The exception that is thrown when the component determines the size of the message data exceeds the maximum size allowed by the SMTP server.

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

System.Object
   System.Exception
      System.ApplicationException
         MailBee.MailBeeException
            MailBee.MailBeeNetworkException
               MailBee.MailBeeRemoteHostException
                  MailBee.MailBeeProtocolException
                     MailBee.MailBeeEmailProtocolException
                        MailBee.SmtpMail.MailBeeSmtpMessageNotAllowedException
                           MailBee.SmtpMail.MailBeeSmtpMessageSizeOutOfRangeException

public class MailBeeSmtpMessageSizeOutOfRangeException : MailBeeSmtpMessageNotAllowedException

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

MailBee uses ESMTP SIZE extension to determine the maximum allowed message size on the server. If ESMTP SIZE extension is not supported or disabled, MailBee will not check the message size prior to sending, and this exception will not be thrown.

The message size can be determined from Size property value of MailMessage object.

Requirements

Namespace: MailBee.SmtpMail

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

See Also

MailBeeSmtpMessageSizeOutOfRangeException Members | MailBee.SmtpMail Namespace