Black Magic
Black Magic

Reputation: 143

mailtrap: sending mail using mailtrap in laravel but it deliver in different mailtrap account

i am using mailtrap for my laravel project.am facing an issue like ,i already set an maitrap account in .env and mail.php file in laravel.but after sending mail,for example if there is 2 mail,one mail delivery in mail trap account which is specified in .env other one send to different mailtrap account.dono whats the pblm.here i am attaching my .env mailtrap details.

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=774b7621a36786
MAIL_PASSWORD=b43de6b4f4e5b2
MAIL_ENCRYPTION=null

anyone please help me.i already run cache/config clear.

Upvotes: 0

Views: 1040

Answers (1)

Kaushik Thakkar
Kaushik Thakkar

Reputation: 422

Run the following commands

    php artisan cache:clear
    php artisan view:clear
    php artisan route:clear
    php artisan clear-compiled
    php artisan config:cache

Upvotes: 0

Related Questions