Guest User

Untitled

a guest
Feb 18th, 2019
320
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. //Server settings
  2. $mail->SMTPDebug = 0; // Enable verbose debug output
  3. $mail->isSMTP(); // Set mailer to use SMTP
  4. $mail->Host = 'smtp.gmail.com'; // Specify main and backup SMTP servers
  5. $mail->SMTPAuth = true; // Enable SMTP authentication
  6. $mail->CharSeT = 'UTF-8';
  7. $mail->Username = '[email protected]'; // SMTP username
  8. $mail->Password = ''; // SMTP password
  9. $mail->SMTPSecure = 'tls'; // Enable TLS encryption, `ssl` also accepted
  10. $mail->Port = 587;
Add Comment
Please, Sign In to add comment