Pop submit ready
This commit is contained in:
@@ -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']
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user