Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Send email code snippet (in controller)
- use Mail;
- Mail::send([], [], function ($m) use ($user, $pword){
- $m -> from('retrofitnoreply@gmail.com', 'Retrofit');
- $m-> to($user->email, $user->full_name) -> subject('First password for your account.') -> setBody('Hi, your login password is ' .$pword);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement