Email not sent

Email not sent

Michael Leonzio asked 2 months ago

Hi,I tried to send an email from contact_us page and the message said that the email has been sent successfuly, but i couldnt find the email inside my mailtrap inbox? i have set the smtp mail setting inside .env file.can you please help me how to fix this?i hope to hear from you soon.Thanks and regards,Michael leonzio

Attachments
1 Answers
laraship Staff answered 2 months ago

Hello

Mail driver should be smtp

Michael Leonzio replied 2 months ago

yes the mail driver is smtp already, i checked this on config/mail.php and found ‘driver’ => env(‘MAIL_DRIVER’, ‘smtp’);
i dont mention MAIL_DRIVER in my .env file so it should be using ‘smtp’ as default, right?

UP TO 60% OFF

LIMITED TIME OFFER
SHOP NOW
Offer Expires Sep 30
close-link