Activating email system using laravel

45 Views Asked by At

I want to activate my project email system. I did the following steps:

  1. make notifcation (part one , part 2)
  2. create controller (make controller)
  3. create controller (route)
  4. .env for mail with mailtrap (env)

Everything should work fine but it goes wrong.

error:

Expected response code 250 but got code "530", with message "530 5.7.1 Authentication required

I did the following commands but it still didn't work:

php artisan config:clear
php artisan optimize

please help me -[F1] - SOS

1

There are 1 best solutions below

0
On

Try php artisan config:cache assuming you have setup everything correctly.