Update in more places

This commit is contained in:
johnnyq
2023-12-21 02:10:09 -05:00
parent d6660bff04
commit 08a6d1d9be
3 changed files with 11 additions and 1 deletions

View File

@@ -73,12 +73,14 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") {
$data = [
[
'from' => $config_mail_from_email,
'from_name' => $config_mail_from_name,
'recipient' => $email,
'recipient_name' => $name,
'subject' => $subject,
'body' => $body
]
];
];
$mail = addToMailQueue($mysqli, $data);
// Error handling
@@ -128,6 +130,8 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") {
$data = [
[
'from' => $config_mail_from_email,
'from_name' => $config_mail_from_name,
'recipient' => $email,
'recipient_name' => $name,
'subject' => $subject,