name of array case sensitive
fix the use of fromemail for testing the email.
This commit is contained in:
parent
5192cbc944
commit
3d83298567
@ -31,7 +31,7 @@ if ($_SERVER["REQUEST_METHOD"] === "POST") {
|
||||
$smtpPort = $data["smtpport"];
|
||||
$smtpUsername = $data["smtpusername"];
|
||||
$smtpPassword = $data["smtppassword"];
|
||||
$fromEmail = $data["fromEmail"] ?? "wallos@wallosapp.com";
|
||||
$fromEmail = $data["fromemail"] ?? "wallos@wallosapp.com";
|
||||
|
||||
$mail = new PHPMailer(true);
|
||||
$mail->isSMTP();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user