public $SMTPAuth=False;\r
public $Username;\r
public $Password;\r
- \r
+\r
function __construct() {\r
$this->SetLanguage("en", "lib/phpmailer/language/");\r
//if SMTP_HOST is specified, use SMTP to send mail directly\r
}else{\r
$Port = "25";\r
}\r
- \r
+\r
//if SMTP_LOGIN is specified, set credentials and enable auth\r
if(SMTP_LOGIN){\r
$SMTPAuth = true;\r
$this->addAddress($toAddress, $toName);\r
$this->Subject = $subject;\r
$this->Body = $body;\r
+ $this->IsHTML($altbody != '');\r
$rc=$this->send();\r
return $rc;\r
}\r
}\r
\r
-?>
\ No newline at end of file
+?>\r