Kann keine Nachricht senden, ohne eine Absender-Adresse in laravel 5.2 habe ich gesetzt .env und mail.php beide

In Passwort vergessen laravel sendet eine E-Mail, die gibt Fehler wie :

Swift_TransportException in AbstractSmtpTransport.php line 162:

Können nicht gesendet E-Mail ohne Absender-Adresse

ich habe bereits meine E-mail-Konto-details in .env und mail.php beide.

Meine .env :

MAIL_DRIVER=smtp
MAIL_HOST=smtp-mail.outlook.com
MAIL_PORT=587
MAIL_USERNAME=raval_himanshu@live.in
MAIL_PASSWORD=pass
MAIL_ENCRYPTION=tls

und meine mail.php ist

<?php

return [   

'driver' => env('MAIL_DRIVER', 'smtp'),    

'host' => env('MAIL_HOST', 'smtp-mail.outlook.com'),    

'port' => env('MAIL_PORT', 587),  

'from' => ['[email protected]' => null, 'Himanshu Raval' => null],

/*
|--------------------------------------------------------------------------
| E-Mail Encryption Protocol
|--------------------------------------------------------------------------
|
| Here you may specify the encryption protocol that should be used when
| the application send e-mail messages. A sensible default using the
| transport layer security protocol should provide great security.
|
*/

'encryption' => env('MAIL_ENCRYPTION', 'tls'),

/*
|--------------------------------------------------------------------------
| SMTP Server Username
|--------------------------------------------------------------------------
|
| If your SMTP server requires a username for authentication, you should
| set it here. This will get used to authenticate with your server on
| connection. You may also set the "password" value below this one.
|
*/

'username' => env('[email protected]'),



'sendmail' => '/usr/sbin/sendmail -bs',

];

habe ich versucht php artisan config:cache auch, aber nach, dass es gibt den gleichen Fehler.

Schreibe einen Kommentar