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

Class SmtpAuthenticationException

Thrown when SMTP authentication fails (e.g. a 535 reply), when no common mechanism can be negotiated, or when authentication is refused over an unencrypted connection.

Inheritance
object
Exception
SmtpException
SmtpAuthenticationException
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 SmtpAuthenticationException : SmtpException, ISerializable, _Exception

Constructors

View Source

SmtpAuthenticationException(string)

Initializes a new instance of the SmtpAuthenticationException class.

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

The message to process.

View Source

SmtpAuthenticationException(string, SmtpResponse?)

Initializes a new instance of the SmtpAuthenticationException class.

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

The message to process.

SmtpResponse response

Specifies the response value.

View Source

SmtpAuthenticationException(string, SmtpResponse?, Exception)

Initializes a new instance of the SmtpAuthenticationException class.

Declaration
public SmtpAuthenticationException(string message, SmtpResponse? response, Exception inner)
Parameters
Type Name Description
string message

The message to process.

SmtpResponse response

Specifies the response value.

Exception inner

Specifies the inner value.

View Source

SmtpAuthenticationException(string, Exception)

Initializes a new instance of the SmtpAuthenticationException class.

Declaration
public SmtpAuthenticationException(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