Share via


SmtpSession Members

Include Protected Members
Include Inherited Members

The SmtpSession class is the base class for classes that represent a Simple Mail Transfer Protocol (SMTP) session.

The SmtpSession type exposes the following members.

Properties

  Name Description
Public property AntispamBypass When overridden in a derived class, the AntispamBypass property gets a value that indicates whether the session is a connection with a partner configured for anti-spam bypass.
Public property AuthenticationSource When overridden in a derived class, the AuthenticationSource property gets a value that indicates how the remote server authenticated for the session.
Public property HelloDomain When overridden in a derived class, the HelloDomain property gets or sets the domain specified by the client by using the HELO or EHLO command.
Public property IsConnected When overridden in a derived class, the IsConnected property returns a value that indicates whether the session is currently connected.
Public property IsExternalConnection When overridden in a derived class, the IsExternalConnection property gets or sets a value that indicates whether the connection is with a server outside the organization.
Public property IsTls The IsTls property indicates whether the session use Transport Layer Security.
Public property LastExternalIPAddress When overridden in a derived class, the LastExternalIPAddress property gets or sets the Internet Protocol (IP) of the last mail server to process the message before the message entered the organization.
Public property LocalEndPoint When overridden in a derived class, the LocalEndPoint property gets or sets the Internet Protocol (IP) end point for the local connection.
Public property Properties When overridden in a derived class, the Properties property gets or sets an indexer for custom session properties.
Public property RemoteEndPoint When overridden in a derived class, the RemoteEndPoint property gets or sets the Internet Protocol (IP) end point for the remote connection.
Public property SessionId When overridden in a derived class, the SessionId property gets or sets the ID for the session.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top