The SmtpSsl type exposes the following members.

Constructors

  Name Description
Public method SmtpSsl()()()()
Public method SmtpSsl(IContainer)
Public method SmtpSsl(String)
Constructs new SmtpSsl instance
Public method SmtpSsl(String, Int32)
Constructs new SmtpSsl instance

Methods

  Name Description
Public method Connect
Securely connects to SMTP server using SSL
(Overrides Smtp..::..Connect()()()().)
Public method CreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public method Disconnect
Disconnects from SMTP server.
(Overrides Smtp..::..Disconnect()()()().)
Public method Dispose()()()()
Releases all resources used by the Component.
(Inherited from Component.)
Protected method Dispose(Boolean)
Clean up any resources being used.
(Inherited from Smtp.)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
Protected method FireCommandSentEvent
Fires CommandSentEvent event.
(Inherited from Smtp.)
Protected method FireConnectedEvent
Fires ConnectedEvent event.
(Inherited from Smtp.)
Protected method FireDataReceivedEvent
Fires DataReceivedEvent event.
(Inherited from Smtp.)
Protected method FireDisconnectedEvent
Fires DisconnectedEvent event.
(Inherited from Smtp.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public method GetOutputStream
Gets the output stream of the socket connection.
(Inherited from Smtp.)
Protected method GetService
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method InitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public method Interrupted
Interrupts the current process.
(Inherited from Smtp.)
Public method IsConnected
Tests Smtp connection.
(Inherited from Smtp.)
Public method IssueCommand
Issues a command to SMTP server and reads response.
(Inherited from Smtp.)
Public method Login(String, String)
Logs in using plain text authentication.
(Inherited from Smtp.)
Public method Login(String, String, Int32)
Logs in using plain text authentication.
(Inherited from Smtp.)
Protected method MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected method MemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Protected method ReadResponse
Gets the response from the SMTP server.
(Inherited from Smtp.)
Public method Send
Sends basic email message.
(Inherited from Smtp.)
Public method ToString
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)
Protected method WriteCommand
Writes the command into the output stream.
(Inherited from Smtp.)

Fields

  Name Description
Public field Static member DEFAULT_PORT
The default port to connect to for secure SMTP over SSL connections.
Protected field heloAddress
The helo address.
(Inherited from Smtp.)
Protected field input
Input stream for Smtp.
(Inherited from Smtp.)
Protected field output
Output stream for Smtp.
(Inherited from Smtp.)

Properties

  Name Description
Protected property CanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
Public property Container
Gets the IContainer that contains the Component.
(Inherited from Component.)
Public property CurrentConnectionType
Gets or sets the secure protocol that the secure connection should use.
Public property Debug
Gets/Sets SMTP debug flag.
(Inherited from Smtp.)
Public property DebugStream
Gets/Sets debug output stream.
(Inherited from Smtp.)
Protected property DesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Protected property Events
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Public property FromAddress
Gets/Sets the SMTP FROM address.
(Inherited from Smtp.)
Public property HeloAddress
Gets/Sets the SMTP HELO address.
(Inherited from Smtp.)
Public property Hostname
Gets/Sets the SMTP server host name.
(Inherited from Smtp.)
Public property LicenseKey
License key.
(Inherited from Smtp.)
Public property Port
Gets/Sets the SMTP server port number.
(Inherited from Smtp.)
Public property ProxyHostname
Gets/Sets the hostname or IP address of the Proxy server.
(Inherited from Smtp.)
Public property ProxyPassword
Gets/Sets the password used to log in to the Proxy server.
(Inherited from Smtp.)
Public property ProxyPort
Gets/Sets the port of the Proxy server.
(Inherited from Smtp.)
Public property ProxyType
Gets/Sets the type of Proxy server.
(Inherited from Smtp.)
Public property ProxyUsername
Gets/Sets the username used to log in to the Proxy server.
(Inherited from Smtp.)
Public property Site
Gets or sets the ISite of the Component.
(Inherited from Component.)
Public property Timeout
Gets/Sets the Socket Timeout parameter.
(Inherited from Smtp.)
Public property ToAddress
Gets/Sets the SMTP TO address.
(Inherited from Smtp.)

Events

  Name Description
Public event CommandSentEvent
Occurs after successfully sending a command to the SMTP server.
(Inherited from Smtp.)
Public event ConnectedEvent
Occurs after a successful connection to the SMTP server.
(Inherited from Smtp.)
Public event DataReceivedEvent
Occurs after successfully reading data from the SMTP server.
(Inherited from Smtp.)
Public event DisconnectedEvent
Occurs after a successful disconnection from the SMTP server.
(Inherited from Smtp.)
Public event Disposed
Occurs when the component is disposed by a call to the Dispose()()()() method.
(Inherited from Component.)

See Also