I get this error with stock email settings in Laravel 5.1 Homestead when I try to send a password reset mail.
Swift_TransportException in AbstractSmtpTransp
the problem is the null value of MAIL_FROM_ADDRESS in .env file.
solutions 1: change the value of the MAIL_FROM_ADRESS to match your email address(don t forget to rerun your server). solution 2: keep the .env file as it was but you need to change mail.php(app/config/mail.php):
'from' => [
'address' => env('MAIL_FROM_ADDRESS','mail@test.com'),
'name' => env('MAIL_FROM_NAME', 'Example'),
]
to:
'from' => [
'address' => 'mail@test.com',
'name' => env('MAIL_FROM_NAME', 'Example'),
]