Email not sent

Michael Leonzio asked 5 years 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 5 years ago

Hello

Mail driver should be smtp

Michael Leonzio replied 5 years 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?