ultimate-guitar/swift-ses-transport

Swift AWS SES Transport for Yii2 Swiftmailer 2.1+

1.0.3 2018-03-19 12:27 UTC

This package is not auto-updated.

Last update: 2020-09-12 00:01:03 UTC


README

Swift AWS SES Transport with support Yii2 Swiftmailer 2.1+

How to install

composer require "ultimate-guitar/swift-ses-transport"

How to use

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',
            ],
        ],