Przeglądaj źródła

Merge branch 'dev'

prodstable
Guillaume Bourgeois 5 lat temu
rodzic
commit
fcb6af4de3
1 zmienionych plików z 9 dodań i 0 usunięć
  1. +9
    -0
      backend/models/MailForm.php

+ 9
- 0
backend/models/MailForm.php Wyświetl plik

@@ -167,6 +167,15 @@ Produits disponibles :
'TextPart' => $this->message.$messageAutoText,
'HTMLPart' => nl2br($this->message).$messageAutoHtml
] ;

if(count($body['Messages']) == 50) {
$response = $mj->post(\Mailjet\Resources::$Email, ['body' => $body]);
$body['Messages'] = [] ;
}
}

if(count($body['Messages']) > 0) {
$response = $mj->post(\Mailjet\Resources::$Email, ['body' => $body]);
}
$response = $mj->post(\Mailjet\Resources::$Email, ['body' => $body]);

Ładowanie…
Anuluj
Zapisz