Answer the question
In order to leave comments, you need to log in
Could someone please explain at least approximately how to get Amazon SES statistics in Laravel via the API?
Good afternoon. I'm trying to make Amazon SES the mail provider of a Laravel project. In the .env file, I registered the necessary configs for the account, sends mail. Added AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY keys. In the Amazon console, statistics show that letters are being sent. But then you still need to pull out these statistics and process them. Installed the package aws/aws-sdk-php-laravel
. I'm trying to pull through through the method getSendStatistics
, such code from the documentation
$client = SesClient::factory(array(
'version'=> 'latest',
'region' => 'us-west-2'
));
try {
$result = $client->getSendStatistics([]);
echo($result);
} catch (Exception $e) {
echo($e->getMessage()."\n");
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question