$this->Host = $pair[0];\r
$this->Port = $pair[1];\r
\r
- if (!$Port) $Port = 25;\r
+ if (!$this->Port) $this->Port = 25;\r
} else {\r
$this->Host = '';\r
$this->Port = '';\r
$this->Username = SMTP_LOGIN;\r
$this->Password = SMTP_PASSWORD;\r
}\r
+ if(SMTP_SECURE)
+ $this->SMTPSecure = SMTP_SECURE;
}\r
/* @brief a simple mail function to send email using the defaults\r
* This will send an HTML email using the configured defaults\r