Advertisement
Guest User

Untitled

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