Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $mail->SMTPAuth = true;
- define('PHPMAILERHOST', 'tonyfintech.info');
- $phpmailer_smtpuser = 'info@tonyfintech.info';
- $phpmailer_smtppassword = 'azerty123';
- $phpmailer_smtpport = '587';
- $phpmailer_smtpsecure = 'tls';
- $mail->SMTPOptions = array(
- 'ssl' => array(
- 'verify_peer' => false,
- 'verify_peer_name' => false,
- 'allow_self_signed' => false
- )
- );
- define('TEST', 0);
- define('PHPMAILER_SMTP_DEBUG', 1);
- I still have this error:
- 2018-10-30 21:04:23 CLIENT -> SERVER: EHLO tonyfintech.info
- 2018-10-30 21:04:23 CLIENT -> SERVER: STARTTLS
- SMTP Error: Could not connect to SMTP host.
- 2018-10-30 21:04:23 CLIENT -> SERVER: QUIT
Add Comment
Please, Sign In to add comment