Пример #1
0
 function __construct()
 {
     self::$config = $GLOBALS['CONFIG_SMTP'];
     $this->debug = FALSE;
     $this->smtp_port = self::$config['port'];
     $this->relay_host = self::$config['server'];
     $this->time_out = 60;
     //is used in fsockopen()
     #
     $this->auth = true;
     //auth
     $this->user = self::$config['user'];
     $this->pass = self::$config['passwd'];
     #
     $this->host_name = "localhost";
     //is used in HELO command
     $this->log_file = "";
     $this->sock = FALSE;
 }