Skip to content

Commit

Permalink
Fix SES transport setup
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints committed Sep 8, 2021
1 parent 22114cd commit 0d8e72e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Illuminate/Mail/MailManager.php
Expand Up @@ -226,6 +226,14 @@ protected function createSendmailTransport(array $config)
*/
protected function createSesTransport(array $config)
{
$config = array_merge(
$this->app['config']->get('services.ses', []),
['version' => 'latest', 'service' => 'email'],
$config
);

$config = Arr::except($config, ['transport']);

$factory = new SesTransportFactory();

return $factory->create(new Dsn(
Expand Down

0 comments on commit 0d8e72e

Please sign in to comment.