Guest User

Untitled

a guest
Dec 4th, 2017
370
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. 2017-12-04 13:34:14 SERVER -> CLIENT: 220 smtp.gmail.com ESMTP y19sm20173980pgv.19 - gsmtp
  2. 2017-12-04 13:34:14 CLIENT -> SERVER: EHLO solutions.proprompt.com
  3. 2017-12-04 13:34:14 SERVER -> CLIENT: 250-smtp.gmail.com at your service, [103.58.144.11]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8
  4. 2017-12-04 13:34:14 CLIENT -> SERVER: STARTTLS
  5. 2017-12-04 13:34:14 SERVER -> CLIENT: 220 2.0.0 Ready to start TLS
  6. SMTP Error: Could not connect to SMTP host.
  7. 2017-12-04 13:34:14 CLIENT -> SERVER: QUIT
  8. 2017-12-04 13:34:15
  9. 2017-12-04 13:34:15
  10. SMTP Error: Could not connect to SMTP host.
  11. Message could not be sent.Mailer Error: SMTP Error: Could not connect to SMTP host.
  12.  
  13. $mail->SMTPDebug = 2; // Enable verbose debug output
  14. $mail->isSMTP(); // Set mailer to use SMTP
  15. $mail->Host = 'smtp.gmail.com'; // Specify main and backup SMTP servers
  16. $mail->SMTPAuth = true; // Enable SMTP authentication
  17. $mail->Username = 'some@email.com'; // SMTP username
  18. $mail->Password = 'somepassword'; // SMTP password
  19. $mail->SMTPSecure = 'tls'; // Enable TLS encryption, `ssl` also accepted
  20. $mail->Port = 587;
Add Comment
Please, Sign In to add comment