Working on a Laravel / InertiaJS project. And I tried to get email verification working.
It was blowing up with a 530 response, unauthenticated. I hadn't set my .env properly. However, now that all the .env is set, it still is not updating.
I've tried valet restart, which reloads php and nginx
tinker
>>> config('mail.driver');
=> "smtp"
>>> config('mail.host');
=> "smtp.mailtrap.io"
>>> config('mail.username');
=> null
.env (I've regenerated)
MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=e4dc552c4e0aed
MAIL_PASSWORD=387781a27fccfe
[email protected]
MAIL_FROM_NAME=Example
config/mail.php
'username' => env('MAIL_USERNAME', 'e4dc552c4e0aed'),
'password' => env('MAIL_PASSWORD', '387781a27fccfe'),
I feel so weird, like how can this be happening to me? @reinink, I know before I ask, could this have anything to do with inertia? But I'm so confused over this I have to ask anyhow.