spatie / mailcoach-support

Questions and support for Mailcoach
https://mailcoach.app
31 stars 2 forks source link

Class 'Aws\Ses\SesClient' not found #261

Closed leevigraham closed 3 years ago

leevigraham commented 3 years ago

Describe your issue

Initial install with minimal customisation. Setup amazon SES following the docs here: https://mailcoach.app/docs/v2/app/mail-configuration/amazon-ses

Attempted to send a test email and got Class 'Aws\Ses\SesClient' not found

image

Health check:

Environment: prod Debug: ON Horizon: Inactive Queue connection: OK Webhooks: 1 unprocessed webhooks Schedule: hasn't run Default mailer: mailcoach Mailcoach mailer: null Campaign mailer: null Transactional mailer: null

Technical details

App directory: /home/forge/mailcoach.mytiki.life/releases/2 User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:82.0) Gecko/20100101 Firefox/82.0 PHP version: 7.4.5 MySQL version: 10.3.22-MariaDB-1:10.3.22+maria~xenial-log Laravel version: 8.9.0 Horizon version: v5.2.1@8fbe70580d653e0f5c33ed9b151f6eebc16dfbf2 laravel-mailcoach version: 3.2.2 mailcoach-ui version: 1.0.3

riasvdv commented 3 years ago

Make sure you've followed Laravel's prerequisites for mailing with SES https://laravel.com/docs/master/mail#driver-prerequisites

leevigraham commented 3 years ago

requiring aws/aws-sdk-php sorted the issue I think.

leevigraham commented 3 years ago

Follow up question if it's not too much trouble… new to mailcoach / laravel… but is there a way to configure the mailers in the mailcoach.php config? I've set the values in the config/mail.php but I'm still being prompted.

image image
freekmurze commented 3 years ago

You can configure the mailers in config/mail.php