Pop submit ready

This commit is contained in:
2025-06-13 10:22:14 +02:00
parent 488e3c156d
commit d1dc0b4ad0
5 changed files with 89 additions and 26 deletions

View File

@@ -235,7 +235,7 @@ function sendAdminNotification($subject, $message)
{
global $mailjet;
$message = [
$mail = [
'Messages' => [
[
'From' => [
@@ -244,7 +244,7 @@ function sendAdminNotification($subject, $message)
],
'To' => [
[
'Email' => "info@4wdcsa.co.za",
'Email' => $_ENV['NOTIFICATION_ADDR'],
'Name' => 'Jacqui Boshoff'
]
],
@@ -264,7 +264,7 @@ function sendAdminNotification($subject, $message)
]);
$response = $client->request('POST', 'send', [
'json' => $message,
'json' => $mail,
'auth' => ['1a44f8d5e847537dbb8d3c76fe73a93c', 'ec98b45c53a7694c4f30d09eee9ad280']
]);