public function SMTP::__construct in SMTP Authentication Support 7
Same name and namespace in other branches
- 7.2 smtp.transport.inc \SMTP::__construct()
Initialize the class so that the data is in a known state. @access public
Return value
void
File
- ./
smtp.transport.inc, line 92 - SMTP mail transport class for the smtp module,based on code of the phpmailer library, customized and relicensed to GPLv2
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. original author: Chris Ryan
Code
public function __construct() {
$this->smtp_conn = 0;
$this->error = NULL;
$this->helo_rply = NULL;
$this->do_debug = 0;
}