• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class SmtpProtocolException

Thrown when the SMTP server returns an unexpected or non-compliant reply, or when a required extension is not advertised.

Inheritance
object
Exception
SmtpException
SmtpProtocolException
Implements
ISerializable
_Exception
Inherited Members
SmtpException.Response
Exception.GetBaseException()
Exception.ToString()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.Message
Exception.Data
Exception.InnerException
Exception.TargetSite
Exception.StackTrace
Exception.HelpLink
Exception.Source
Exception.HResult
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: DRIT.Mail.Rfc.Smtp
Assembly: DRIT.Mail.dll
Syntax
public sealed class SmtpProtocolException : SmtpException, ISerializable, _Exception

Constructors

View Source

SmtpProtocolException(string)

Initializes a new instance of the SmtpProtocolException class.

Declaration
public SmtpProtocolException(string message)
Parameters
Type Name Description
string message

The message to process.

View Source

SmtpProtocolException(string, SmtpResponse?)

Initializes a new instance of the SmtpProtocolException class.

Declaration
public SmtpProtocolException(string message, SmtpResponse? response)
Parameters
Type Name Description
string message

The message to process.

SmtpResponse response

Specifies the response value.

View Source

SmtpProtocolException(string, Exception)

Initializes a new instance of the SmtpProtocolException class.

Declaration
public SmtpProtocolException(string message, Exception inner)
Parameters
Type Name Description
string message

The message to process.

Exception inner

Specifies the inner value.

Implements

ISerializable
_Exception
  • View Source
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX