You've already forked laravel-mail
Modifying BMailApi
This commit is contained in:
@@ -33,7 +33,10 @@ class BMailApi
|
||||
try {
|
||||
return $client->request('post', $url, [
|
||||
'form_params' => $template,
|
||||
'headers' => ['Authorization' => 'Bearer ' . $this->api_key]
|
||||
'headers' => [
|
||||
'Authorization' => 'Bearer ' . $this->api_key,
|
||||
'Accept' => 'application/json'
|
||||
]
|
||||
])->getBody();
|
||||
|
||||
} catch(\Exception $e) {
|
||||
|
||||
Reference in New Issue
Block a user