Advertisement
Guest User

Untitled

a guest
Dec 20th, 2016
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. MAIL_DRIVER=smtp
  2. MAIL_HOST=box656.bluehost.com
  3. MAIL_PORT=465
  4. MAIL_USERNAME=email@something.com
  5. MAIL_PASSWORD=*****
  6. MAIL_ENCRYPTION=ssl
  7.  
  8. $email = $request['email'];
  9.  
  10. Mail::to($email)->send(new SubscribeFriend());
  11. if (Mail::failures()) {
  12. dd('error');// why this is the display when details above is correct? and how to display the exact errors?
  13. }
  14. return redirect()->back();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement