If i do this in Laravel 5.1
Route::get('test_email', function(){
Mail::raw(
"",
function ($mail) {
$mail->from('info@test.com');
$mail->to('test@test.com', 'test');
}
);
});
The email is sent to MAIL_TO_ADDRESS set into .env. It ignore the to value. Why?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire