46 $this->phpmailer =
new PHPMailer;
47 $this->phpmailer->CharSet = PHPMailer::CHARSET_UTF8;
50 $this->phpmailer->SMTPDebug = SMTP::DEBUG_OFF;
51 $this->phpmailer->isSMTP(
true);
52 $this->phpmailer->XMailer =
"noalyss-email";
53 $this->phpmailer->Host = $mail_parameter->smtp_host;
54 $this->phpmailer->Port = $mail_parameter->smtp_port;
55 $this->phpmailer->Username = $mail_parameter->smtp_user;
56 $this->phpmailer->Password = $mail_parameter->smtp_password;
57 $this->phpmailer->SMTPAuth = ($mail_parameter->smtp_auth == 1) ?
true :
false;
58 $this->phpmailer->SMTPSecure = $mail_parameter->smtp_secure;
59 $this->phpmailer->setFrom($mail_parameter->smtp_from);
60 $this->phpmailer->SMTPSecure = $mail_parameter->smtp_secure;
61 $this->phpmailer->setFrom($mail_parameter->smtp_from);
64 $this->phpmailer->isHTML(
true);