Browse Source

[Administration] Communiquer > envoi email : correctif usersArray

feature/souke
Guillaume Bourgeois 11 months ago
parent
commit
a9cfd155a9
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      backend/models/MailForm.php

+ 2
- 2
backend/models/MailForm.php View File

} }


// Tests // Tests
$usersArray = [
/*$usersArray = [
['email' => 'contact@guillaumebourgeois.fr', 'name' => '', 'lastname' => ''] ['email' => 'contact@guillaumebourgeois.fr', 'name' => '', 'lastname' => '']
];
];*/


foreach($usersArray as $user) { foreach($usersArray as $user) {
$body['Messages'][] = [ $body['Messages'][] = [

Loading…
Cancel
Save