Skip to content

Commit

Permalink
[Mailer] Use HTTP/1.1 for Mailgun
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Jun 28, 2024
1 parent cc61633 commit 7c84f9c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ protected function doSendHttp(SentMessage $message): ResponseInterface

$endpoint = sprintf('%s/v3/%s/messages.mime', $this->getEndpoint(), urlencode($this->domain));
$response = $this->client->request('POST', 'https://'.$endpoint, [
'http_version' => '1.1',
'auth_basic' => 'api:'.$this->key,
'headers' => $headers,
'body' => $body->bodyToIterable(),
Expand Down

0 comments on commit 7c84f9c

Please sign in to comment.