You are here

function SMTP::SMTP in SMTP Authentication Support 5

Initialize the class so that the data is in a known state. @access public

Return value

void

File

./smtp.module, line 2030
Enables drupal to send email directly to an SMTP server using authentication. Uses the PHPMailer class by Brent R. Matzelle.

Class

SMTP
SMTP is rfc 821 compliant and implements all the rfc 821 SMTP commands except TURN which will always return a not implemented error. SMTP also provides some utility methods for sending mail to an SMTP server. @package PHPMailer @author Chris Ryan

Code

function SMTP() {
  $this->smtp_conn = 0;
  $this->error = null;
  $this->helo_rply = null;
  $this->do_debug = 0;
}