php - Why does Laravel send blank emails? -


i have following code:

mail::send('emails.welcome', $data, function($message) use ($user){         $message->from('xxx@xxx.xxx', 'xxxxx');         $message->to($user['email'], $user['name'])->subject('welcome laravel app!');     }); 

now, doesn't matter put in email template (emails.welcome) email message blank!

does have idea why happening?

go app/config/mail.php

in line 57

'from' => array('address' => null, 'name' => null), 

set value address , name


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -