Guest User

Untitled

a guest
Oct 30th, 2018
396
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. $mail->SMTPAuth = true;
  2. define('PHPMAILERHOST', 'tonyfintech.info');
  3. $phpmailer_smtpuser = 'info@tonyfintech.info';
  4. $phpmailer_smtppassword = 'azerty123';
  5. $phpmailer_smtpport = '587';
  6.  
  7. $phpmailer_smtpsecure = 'tls';
  8. $mail->SMTPOptions = array(
  9. 'ssl' => array(
  10. 'verify_peer' => false,
  11. 'verify_peer_name' => false,
  12. 'allow_self_signed' => false
  13. )
  14. );
  15.  
  16.  
  17. define('TEST', 0);
  18. define('PHPMAILER_SMTP_DEBUG', 1);
  19.  
  20. I still have this error:
  21. 2018-10-30 21:04:23 CLIENT -> SERVER: EHLO tonyfintech.info
  22. 2018-10-30 21:04:23 CLIENT -> SERVER: STARTTLS
  23. SMTP Error: Could not connect to SMTP host.
  24. 2018-10-30 21:04:23 CLIENT -> SERVER: QUIT
Add Comment
Please, Sign In to add comment