name of array case sensitive

fix the use of fromemail for testing the email.
This commit is contained in:
ZwF 2023-11-23 14:14:42 -05:00 committed by GitHub
parent 5192cbc944
commit 3d83298567
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ if ($_SERVER["REQUEST_METHOD"] === "POST") {
$smtpPort = $data["smtpport"]; $smtpPort = $data["smtpport"];
$smtpUsername = $data["smtpusername"]; $smtpUsername = $data["smtpusername"];
$smtpPassword = $data["smtppassword"]; $smtpPassword = $data["smtppassword"];
$fromEmail = $data["fromEmail"] ?? "wallos@wallosapp.com"; $fromEmail = $data["fromemail"] ?? "wallos@wallosapp.com";
$mail = new PHPMailer(true); $mail = new PHPMailer(true);
$mail->isSMTP(); $mail->isSMTP();