Home » Documentation » SMTPDriver

SMTPDriver

The SMTPDriver allows for low-level access to SMTP.

Constructors

Name Description
Constructor  Initializes a new instance of the SMTPDriver class.

Methods

Name Description
AddRecipient  Executes a RCPT TO SMTP command with the specified string e-mail address.
Arguments:
(EmailAddress)
Authenticate  Returns true if authentication was successful, otherwise false is returned with the specified string inpcommand argument.
Arguments:
(Command)
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.
Arguments:
(Command)
Send  Executes the SMTP DATA command with the specified string message data argument.
Arguments:
(Data)
SetFrom  Executes a SMTP MAIL FROM command with the specified string e-mail address argument.
Arguments:
(FromAddress)

Properties

Name Description
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.
Are you a robot?
Your Email:
Create a Username:
Create a Password:
Forgot Password?
Validate Text: Captcha