Advertisement
Guest User

Untitled

a guest
Sep 6th, 2017
1,197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.26 KB | None | 0 0
  1. $mail->Host = 'smtp.gmail.com';
  2.     $mail->Port = 587;
  3.     $mail->SMTPSecure = 'tls';
  4.     $mail->SMTPAuth = true;
  5.     $mail->Username = "testschool4us@gmail.com";
  6.     $mail->Password = "school4ustest";
  7.  
  8.     $mail->setFrom($email, $firstName.' '.$lastName);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement