I'm trying to make the laravel default "forget password" to work, after a long try of setting up, I finally got the email sent. Cheers! but I have a question now, the sender email address is not what I set. I want the from address to be my gmail address but when I received the email, the from address is "myusername@server214.web-hosting.com". Any hint, what is wrong?
in my mail.php:
'driver' => 'sendmail',
'host' => 'smtp.gmail.com',
'port' => 587,
'from' => ['address' => "myemail@gmail.com", 'name' => "myname"],
'encryption' => 'tls',
'username' => 'myemail@gmail.com',
'password' => 'password',
'sendmail' => '/usr/sbin/sendmail -bs',
'pretend' => false,