Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6c643e0

Browse files
committed
Fix posting of messages.
1 parent e452a41 commit 6c643e0

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/Illuminate/Mail/Transport/MailgunTransport.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,12 @@ public function send(Swift_Mime_Message $message, &$failedRecipients = null)
7373
{
7474
$client = $this->getHttpClient();
7575

76-
$response = $client->send($client->post($this->url, ['auth' => ['api', $this->key],
76+
$client->post($this->url, ['auth' => ['api', $this->key],
7777
'body' => [
7878
'to' => $this->getTo($message),
7979
'message' => new PostFile('message', (string) $message),
8080
],
81-
]));
81+
]);
8282
}
8383

8484
/**

src/Illuminate/Mail/Transport/MandrillTransport.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@ public function send(Swift_Mime_Message $message, &$failedRecipients = null)
5555
{
5656
$client = $this->getHttpClient();
5757

58-
$client->send($client->post('https://mandrillapp.com/api/1.0/messages/send-raw.json', [
58+
$client->post('https://mandrillapp.com/api/1.0/messages/send-raw.json', [
5959
'body' => [
6060
'key' => $this->key,
6161
'raw_message' => (string) $message,
6262
'async' => true,
6363
],
64-
]));
64+
]);
6565
}
6666

6767
/**

0 commit comments

Comments
 (0)