SMTPDriver
The SMTPDriver allows for low-level access to SMTP.
Constructors
|
Constructor
|
Initializes a new instance of the SMTPDriver class.
|
Methods
|
AddRecipient
|
Executes a RCPT TO SMTP command with the specified string e-mail address.
|
|
Authenticate
|
Returns true if authentication was successful, otherwise false is returned with the specified string inpcommand argument.
|
|
Close
|
Terminates the connection with the host.
|
|
Open
|
Opens the connection with the host.
|
|
Request
|
Returns raw SMTP reply data and writes the specified string command argument to the connection.
|
|
Send
|
Executes the SMTP DATA command with the specified string message data argument.
|
|
SetFrom
|
Executes a SMTP MAIL FROM command with the specified string e-mail address argument.
|
Properties
|
Annoucement
|
Stores the SMTP announcement header. |
|
Command
|
Gets and sets the SMTP command in this instance. |
|
Host
|
Gets and sets the host address in this instance. |
|
Password
|
Gets and sets the password used authenticate with the host in this instance. |
|
Port
|
Gets and sets the port used to connect to the host in this instance. |
|
Protocol
|
Gets and sets the protocol used to connect to the host in this instance. |
|
Reply
|
Stores the reply data. |
|
ReplyCode
|
Stores the reply code. |
|
ReplyText
|
Stores the reply text. |
|
Socket
|
Stores the SocketDriver object. |
|
Timeout
|
Gets and sets the connection timeout threshold in this instance. |
|
Username
|
Gets and sets the username used to authenticate with the host in this instance. |
|