Swift AWS SES Transport with support Yii2 Swiftmailer 2.1+
composer require "ultimate-guitar/swift-ses-transport"
Add to config file in your Yii2 app:
'mailer' => [
'class' => \yii\swiftmailer\Mailer::class,
'viewPath' => '@your/view/path',
'transport' => [
'class' => \UltimateGuitar\SwiftSesTransport\SesTransport::class,
'key_id' => 'your_aws_key_id',
'secret_key' => 'your_aws_secret_key',
'endpoint' => 'your_aws_endpoint',
],
],