Hello everyone, i have problem about sending emails from my laravel app in development using mailtrap.
In mailtrap inbox i can see, that emails were send, but they are not delivered on specific email, where it should be delivered. Or is it because i am using mailtrap email testing, and its not able to send email to real email inbox like my personal email?
My env looks like that
MAIL_MAILER=smtp
MAIL_HOST=sandbox.smtp.mailtrap.io
MAIL_PORT=587
MAIL_USERNAME=mailtrapusername
MAIL_PASSWORD=mailtrappassword
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS="[email protected]"
MAIL_FROM_NAME="${APP_NAME}"
my config looks like this
'mailers' => [
'smtp' => [
'transport' => 'smtp',
'url' => env('MAIL_URL'),
'host' => env('MAIL_HOST', 'sandbox.smtp.mailtrap.io'),
'port' => env('MAIL_PORT', 587),
'encryption' => env('MAIL_ENCRYPTION', 'tls'),
'username' => env('MAIL_USERNAME', 'mailtrapusername'),
'password' => env('MAIL_PASSWORD', 'mailtrappassword'),
'timeout' => null,
'local_domain' => env('MAIL_EHLO_DOMAIN'),
'auth_mode' => 'plain',
'verify_peer' => false,
],
I am not getting any errors, when user confirm reservation, he should get confirmation email about that, in mailtrap i can see that email was send, but when i check inbox of my testing email, it doesnt work, and i have tryied couple of different domains. Do have anybody idea what can be a problem ? :/ Thank you.