Loading htdocs/create.php +4 −1 Original line number Diff line number Diff line Loading @@ -230,6 +230,7 @@ function sendWelcomeMailWithPHPMail(string $to, string $mbox, string $domain, st $host = getenv("SMTP_HOST"); $username = getenv("WELCOME_SMTP_FROM"); $password = getenv("WELCOME_SMTP_PW"); $port = getenv("SMTP_PORT"); $headers = array('From' => $from, 'To' => $to, 'Subject' => $subject, Loading @@ -239,7 +240,9 @@ function sendWelcomeMailWithPHPMail(string $to, string $mbox, string $domain, st array('host' => $host, 'auth' => true, 'username' => $username, 'password' => $password) 'password' => $password, 'port' => $port ) ); $mail = $smtp->send($to, $mime->headers($headers), $body); } Loading Loading
htdocs/create.php +4 −1 Original line number Diff line number Diff line Loading @@ -230,6 +230,7 @@ function sendWelcomeMailWithPHPMail(string $to, string $mbox, string $domain, st $host = getenv("SMTP_HOST"); $username = getenv("WELCOME_SMTP_FROM"); $password = getenv("WELCOME_SMTP_PW"); $port = getenv("SMTP_PORT"); $headers = array('From' => $from, 'To' => $to, 'Subject' => $subject, Loading @@ -239,7 +240,9 @@ function sendWelcomeMailWithPHPMail(string $to, string $mbox, string $domain, st array('host' => $host, 'auth' => true, 'username' => $username, 'password' => $password) 'password' => $password, 'port' => $port ) ); $mail = $smtp->send($to, $mime->headers($headers), $body); } Loading