I have integrated Amazon SES in PHP Laravel5 project but i have troubled to send email's because i am getting this error,
Swift_TransportException in AbstractSmtpTransport.php line 383:
Expected response code 250 but got code "530", with message "530 Authentication required"
Can anyone tell me how to configure Amazon SES..
I have added this in .env file
for sending email I have used this.
after changing this hit this "php artisan serve " command in terminal
Ensure you have configured your environment variables:
like the following:
I just open a terminal and wrote the following commands:
> Composer update
(optional)> php artisan queue:restart
then it should work.
You have to write to support and ask for moving out of the amazon ses sand box
hope helps
modify
config/mail.php
'sdriver
toses
, and check the information inconfig/services.php
or add them to your
.env
file.