Loading htdocs/create.php +1 −1 Original line number Diff line number Diff line Loading @@ -214,7 +214,7 @@ function sendWelcomeMailWithPHPMail(string $to, string $mbox, string $domain, st $body = $mime->get(); $from = getenv("MAIL_FROM"); $from = getenv("MAIL_FROM") ? getenv("MAIL_FROM") : getenv("SMTP_FROM"); $host = getenv("SMTP_HOST"); $username = getenv("SMTP_FROM"); $password = getenv("SMTP_PW"); Loading htdocs/helpers.php +1 −1 Original line number Diff line number Diff line Loading @@ -62,7 +62,7 @@ function sendInviteMailWithPHPMail(string $to, string $signupURL, string $lang): $template = json_decode($content, false); } $subject = $template->subject; $from = getenv("MAIL_FROM"); $from = getenv("MAIL_FROM") ? getenv("MAIL_FROM") : getenv("SMTP_FROM"); $headers = ['From' => $from, 'To' => $to, 'Subject' => $subject, 'Content-Type' => 'text/html; charset=UTF-8', 'Date' => date('D, d M Y H:i:s O')]; Loading Loading
htdocs/create.php +1 −1 Original line number Diff line number Diff line Loading @@ -214,7 +214,7 @@ function sendWelcomeMailWithPHPMail(string $to, string $mbox, string $domain, st $body = $mime->get(); $from = getenv("MAIL_FROM"); $from = getenv("MAIL_FROM") ? getenv("MAIL_FROM") : getenv("SMTP_FROM"); $host = getenv("SMTP_HOST"); $username = getenv("SMTP_FROM"); $password = getenv("SMTP_PW"); Loading
htdocs/helpers.php +1 −1 Original line number Diff line number Diff line Loading @@ -62,7 +62,7 @@ function sendInviteMailWithPHPMail(string $to, string $signupURL, string $lang): $template = json_decode($content, false); } $subject = $template->subject; $from = getenv("MAIL_FROM"); $from = getenv("MAIL_FROM") ? getenv("MAIL_FROM") : getenv("SMTP_FROM"); $headers = ['From' => $from, 'To' => $to, 'Subject' => $subject, 'Content-Type' => 'text/html; charset=UTF-8', 'Date' => date('D, d M Y H:i:s O')]; Loading