Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static function send_welcome_mail($user,$code)
- {
- Mail::send('auth.email.welcome',['user'=>$user,'code'=>$code], function ($message)
- {
- $message->subject('Welcome');
- $message->from('info@example.com', 'Example');
- $message->to('info@exampleReceiver.com');
- });
- }
- public static function send_welcome_mail($user,$code,$receiver)
- {
- Mail::send('auth.email.welcome',['user'=>$user,'code'=>$code], function ($message)
- {
- $message->subject('Welcome');
- $message->from('info@example.com', 'Example');
- $message->to($receiver);
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement