Ikram Shabri
Ikram Shabri

Reputation: 567

Error code 450 Requested mail action not taken: mailbox unavailable when send email laravel

I want to send email to user. I have created using gmail smtp setting and it's working normally but when I tried send email using yahoo smtp setting it's not working and show error code like below

 Swift_TransportException (450)
Expected response code 250 but got code "450", with message "450     Requested mail action not taken: mailbox unavailable "

I've cache config laravel using php artisan config:cache but it's still not working as normal as gmail settings

Here's .env file

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mail.yahoo.com
MAIL_PORT=587
[email protected]
MAIL_PASSWORD=xxxx
MAIL_ENCRYPTION=tls

Do you know if there's any settings that I forgot ?

Thank you

Upvotes: 0

Views: 4063

Answers (1)

Osama Alvi
Osama Alvi

Reputation: 679

try restart your server and try again and also show your credentials in your env file.

Probably you need to enable below option from your yahoo account:

Account Security -> Allow apps that use less secure sign in

Upvotes: 2

Related Questions