Guest User

Untitled

a guest
Aug 3rd, 2018
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. Mail::send(['text' => 'pages/reset-password-mail'], ['name' => 'Test', 'url' => $url], function($message) use ($email) {
  2. $message->to($email, $name = NULL)->subject('Reset Password');
  3. $message->from('test@gmail.com', 'Support');});
  4.  
  5. MAIL_DRIVER=smtp
  6. MAIL_HOST=smtp.googlemail.com
  7. MAIL_PORT=465
  8. MAIL_USERNAME=gmail username
  9. MAIL_PASSWORD=gmail password
  10. MAIL_ENCRYPTION=ssl
Add Comment
Please, Sign In to add comment