Skip to content

Commit

Permalink
name of array case sensitive
Browse files Browse the repository at this point in the history
fix the use of fromemail for testing the email.
  • Loading branch information
devzwf authored Nov 23, 2023
1 parent 5192cbc commit 3d83298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion endpoints/notifications/sendtestmail.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
$smtpPort = $data["smtpport"];
$smtpUsername = $data["smtpusername"];
$smtpPassword = $data["smtppassword"];
$fromEmail = $data["fromEmail"] ?? "[email protected]";
$fromEmail = $data["fromemail"] ?? "[email protected]";

$mail = new PHPMailer(true);
$mail->isSMTP();
Expand Down

0 comments on commit 3d83298

Please sign in to comment.