-
Currently the SesTransport uses I couldn't find a PR/issue/discussion related to this and was wondering if anyone knew any downsides to submitting a PR to use the newer My selfish reason for this is the V2 client supports some additional features in SES, such as enabling a managed deliverability service/dashboard that AWS offers. The v2 client doesn't have a Looks like the work involved would be:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Here's a working example: $ses = new SesV2Client([
'region' => 'us-east-1',
'version' => 'latest',
]);
$mime = <<<MSSG
Message-ID: <28e2428e9a846edc734fa9f0eac00196@swift.generated>
Date: Wed, 30 Jun 2021 20:40:04 +0000
Subject: Test Message
From: Chris <chris@my-verified-sending-domain.com>
To: chris@example.com
MIME-Version: 1.0
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<p>The Content</p>
MSSG;
$result = $ses->sendEmail([
'FromEmailAddress' => 'chris@my-verified-sending-domain.com', //key($message->getSender() ?: $message->getFrom()),
'Content' => [
'Raw' => [
'Data' => $mime,
],
],
]); |
Beta Was this translation helpful? Give feedback.
-
It has been landed in Laravel 9 recently |
Beta Was this translation helpful? Give feedback.
It has been landed in Laravel 9 recently