Advertisement
Guest User

Untitled

a guest
Nov 24th, 2016
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.42 KB | None | 0 0
  1. //$this->Host = "server hostname"; //THis WORKS
  2. //$this->Host = "account domain"; // this WORKS
  3. $this->Host = "localhost"; // this FAILS
  4. $this->SMTPAuth = true; // Only works on non-localhost Host.
  5. //$this->Port = 25; //default.
  6. $this->Username = 'email_Address@accountdomain.com';
  7. $this->Password = '...!...';
  8.  
  9. 2016-11-24 14:40:52 Connection: opening to localhost:25, timeout=20, options=array (
  10. )
  11. 2016-11-24 14:40:52 Connection: opened
  12. 2016-11-24 14:40:52 SMTP -> get_lines(): $data is ""
  13. 2016-11-24 14:40:52 SMTP -> get_lines(): $str is "220-serverdomain.com ESMTP Exim 4.87 #1 Thu, 24 Nov 2016 14:40:52 +0000
  14. "
  15. 2016-11-24 14:40:52 SMTP -> get_lines(): $data is "220-serverdomain.com ESMTP Exim 4.87 #1 Thu, 24 Nov 2016 14:40:52 +0000
  16. "
  17. 2016-11-24 14:40:52 SMTP -> get_lines(): $str is "220- We do not authorize the use of this system to transport unsolicited,
  18. "
  19. 2016-11-24 14:40:52 SMTP -> get_lines(): $data is "220-serverdomain.com ESMTP Exim 4.87 #1 Thu, 24 Nov 2016 14:40:52 +0000
  20. 220- We do not authorize the use of this system to transport unsolicited,
  21. "
  22. 2016-11-24 14:40:52 SMTP -> get_lines(): $str is "220 and/or bulk e-mail.
  23. "
  24. 2016-11-24 14:40:52 SERVER -> CLIENT: 220-serverdomain.com ESMTP Exim 4.87 #1 Thu, 24 Nov 2016 14:40:52 +0000
  25. 220- We do not authorize the use of this system to transport unsolicited,
  26. 220 and/or bulk e-mail.
  27. 2016-11-24 14:40:52 CLIENT -> SERVER: EHLO www.accountdomain.co.uk
  28. 2016-11-24 14:40:52 SMTP -> get_lines(): $data is ""
  29. 2016-11-24 14:40:52 SMTP -> get_lines(): $str is "250-serverdomain.com Hello www.accountdomain.co.uk [::1]
  30. "
  31. 2016-11-24 14:40:52 SMTP -> get_lines(): $data is "250-serverdomain.com Hello www.accountdomain.co.uk [::1]
  32. "
  33. 2016-11-24 14:40:52 SMTP -> get_lines(): $str is "250-SIZE 52428800
  34. "
  35. 2016-11-24 14:40:52 SMTP -> get_lines(): $data is "250-serverdomain.com Hello www.accountdomain.co.uk [::1]
  36. 250-SIZE 52428800
  37. "
  38. 2016-11-24 14:40:52 SMTP -> get_lines(): $str is "250-8BITMIME
  39. "
  40. 2016-11-24 14:40:52 SMTP -> get_lines(): $data is "250-serverdomain.com Hello www.accountdomain.co.uk [::1]
  41. 250-SIZE 52428800
  42. 250-8BITMIME
  43. "
  44. 2016-11-24 14:40:52 SMTP -> get_lines(): $str is "250-PIPELINING
  45. "
  46. 2016-11-24 14:40:52 SMTP -> get_lines(): $data is "250-serverdomain.com Hello www.accountdomain.co.uk [::1]
  47. 250-SIZE 52428800
  48. 250-8BITMIME
  49. 250-PIPELINING
  50. "
  51. 2016-11-24 14:40:52 SMTP -> get_lines(): $str is "250-AUTH PLAIN LOGIN
  52. "
  53. 2016-11-24 14:40:52 SMTP -> get_lines(): $data is "250-serverdomain.com Hello www.accountdomain.co.uk [::1]
  54. 250-SIZE 52428800
  55. 250-8BITMIME
  56. 250-PIPELINING
  57. 250-AUTH PLAIN LOGIN
  58. "
  59. 2016-11-24 14:40:52 SMTP -> get_lines(): $str is "250-STARTTLS
  60. "
  61. 2016-11-24 14:40:52 SMTP -> get_lines(): $data is "250-serverdomain.com Hello www.accountdomain.co.uk [::1]
  62. 250-SIZE 52428800
  63. 250-8BITMIME
  64. 250-PIPELINING
  65. 250-AUTH PLAIN LOGIN
  66. 250-STARTTLS
  67. "
  68. 2016-11-24 14:40:52 SMTP -> get_lines(): $str is "250 HELP
  69. "
  70. 2016-11-24 14:40:52 SERVER -> CLIENT: 250-serverdomain.com Hello www.accountdomain.co.uk [::1]
  71. 250-SIZE 52428800
  72. 250-8BITMIME
  73. 250-PIPELINING
  74. 250-AUTH PLAIN LOGIN
  75. 250-STARTTLS
  76. 250 HELP
  77. 2016-11-24 14:40:52 CLIENT -> SERVER: STARTTLS
  78. 2016-11-24 14:40:52 SMTP -> get_lines(): $data is ""
  79. 2016-11-24 14:40:52 SMTP -> get_lines(): $str is "220 TLS go ahead
  80. "
  81. 2016-11-24 14:40:52 SERVER -> CLIENT: 220 TLS go ahead
  82. 2016-11-24 14:40:52 SMTP Error: Could not connect to SMTP host.
  83. 2016-11-24 14:40:52 CLIENT -> SERVER: QUIT
  84. 2016-11-24 14:40:52 SMTP -> get_lines(): $data is ""
  85. 2016-11-24 14:40:52 SMTP -> get_lines(): $str is "221 serverdomain.com closing connection
  86. "
  87. 2016-11-24 14:40:52 SERVER -> CLIENT: 221 serverdomain.com closing connection
  88. 2016-11-24 14:40:52 Connection: closed
  89. 2016-11-24 14:40:52 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement