Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $mail = new PHPMailer(true);
- $mail->isSMTP();
- $mail->SMTPDebug = 3;
- $mail->Debugoutput = 'html';
- $mail->CharSet = 'utf-8';
- $mail->UseSendmailOptions = false;
- $mail->Host = "88.99.0.148";
- $mail->Port = 465;
- $mail->SMTPAuth = true;
- $mail->SMTPSecure = 'tls';
- $mail->Username = "xxxxxxx@transformperformance.com";
- $mail->Password = "xxxxxxxxxx";
- $mail->setFrom('xxxxxxxx@transformperformance.com','Transform Performance Intl.');
- $mail->addAddress($toemail);
- $mail->Subject = $subject;
- $mail->msgHTML($body);
- if ($attachment!="") $mail->addAttachment($attachment);
- @$mail->send();
- Connection: opening to 88.99.0.148:587, timeout=300, options=array ()<br>
- SMTP ERROR: Failed to connect to server: No connection could be made because the target machine actively refused it. (10061)<br>
- SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting<br>
- Connection: opening to 88.99.0.148:465, timeout=300, options=array ()<br>
- Connection: opened<br>
- SERVER -> CLIENT: 220 OWNEROR-HRSH0QT.home ESMTP MailEnable Service, Version: 9.16-- ready at 12/09/16 17:15:20<br>
- CLIENT -> SERVER: EHLO surveys.transformperformance.com<br>
- SERVER -> CLIENT: 250-home [88.99.0.148], this server offers 5 extensions250-AUTH LOGIN250-SIZE 40960000250-HELP250-AUTH=LOGIN250 STARTTLS<br>
- CLIENT -> SERVER: STARTTLS<br>
- SERVER -> CLIENT: 454 TLS not available due to temporary reason<br>
- SMTP ERROR: STARTTLS command failed: 454 TLS not available due to temporary reason<br>
- SMTP Error: Could not connect to SMTP host.<br>
- CLIENT -> SERVER: QUIT<br>
- SERVER -> CLIENT: 221 Service closing transmission channel<br>
- Connection: closed<br>
- SMTP Error: Could not connect to SMTP host.<br>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement