I'm building a website with Laravel, done a plain install of Laravel 5.1 and planning to send emails form my website using Amazon Webservices SES.
As Laravel documentation states it's quite straightforward, after installing Amazon PHP SDK using composer all you need to do is configure credentials inside the config/mail.php and services.php like this :
'ses' => [
'key' => 'your-ses-key',
'secret' => 'your-ses-secret',
'region' => 'ses-region', // e.g. us-east-1
],
I put my amazon credentials inside the .env file in the root of the Laravel installation, but whenever I try to send an email with the Laravel mailer class I get this error:
"Error retrieving credentials from the instance profile metadata server"
Double checked the credentials on Amazon WS Console but still got the problem.
Any hint?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1KQEbxM
via IFTTT
Aucun commentaire:
Enregistrer un commentaire