Advertisement
Guest User

Untitled

a guest
Jul 1st, 2017
501
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.80 KB | None | 0 0
  1. Test Message Sent
  2.  
  3. The result was:
  4.  
  5. bool(false)
  6.  
  7. The full debugging output is shown below:
  8.  
  9. object(PHPMailer)#648 (45) {
  10. ["Priority"]=>
  11. int(3)
  12. ["CharSet"]=>
  13. string(5) "UTF-8"
  14. ["ContentType"]=>
  15. string(10) "text/plain"
  16. ["Encoding"]=>
  17. string(4) "8bit"
  18. ["ErrorInfo"]=>
  19. string(43) "SMTP Error: Could not connect to SMTP host."
  20. ["From"]=>
  21. string(23) "jjjohnjones36@gmail.com"
  22. ["FromName"]=>
  23. string(10) "John Jones"
  24. ["Sender"]=>
  25. string(0) ""
  26. ["Subject"]=>
  27. string(46) "WP Mail SMTP: Test mail to n_ntltd@yahoo.co.uk"
  28. ["Body"]=>
  29. string(68) "This is a test email generated by the WP Mail SMTP WordPress plugin."
  30. ["AltBody"]=>
  31. string(0) ""
  32. ["WordWrap"]=>
  33. int(0)
  34. ["Mailer"]=>
  35. string(4) "smtp"
  36. ["Sendmail"]=>
  37. string(18) "/usr/sbin/sendmail"
  38. ["PluginDir"]=>
  39. string(0) ""
  40. ["Version"]=>
  41. string(5) "2.0.4"
  42. ["ConfirmReadingTo"]=>
  43. string(0) ""
  44. ["Hostname"]=>
  45. string(0) ""
  46. ["MessageID"]=>
  47. string(0) ""
  48. ["Host"]=>
  49. string(14) "smtp.gmail.com"
  50. ["Port"]=>
  51. string(3) "465"
  52. ["Helo"]=>
  53. string(0) ""
  54. ["SMTPSecure"]=>
  55. string(3) "ssl"
  56. ["SMTPAuth"]=>
  57. bool(true)
  58. ["Username"]=>
  59. string(23) "jjjohnjones36@gmail.com"
  60. ["Password"]=>
  61. string(8) "wv3LZQAT"
  62. ["Timeout"]=>
  63. int(10)
  64. ["SMTPDebug"]=>
  65. int(2)
  66. ["SMTPKeepAlive"]=>
  67. bool(false)
  68. ["SingleTo"]=>
  69. bool(false)
  70. ["smtp"]=>
  71. object(SMTP)#649 (7) {
  72. ["SMTP_PORT"]=>
  73. int(25)
  74. ["CRLF"]=>
  75. string(2) "
  76. "
  77. ["do_debug"]=>
  78. int(2)
  79. ["do_verp"]=>
  80. bool(false)
  81. ["smtp_conn"]=>
  82. bool(false)
  83. ["error"]=>
  84. array(3) {
  85. ["error"]=>
  86. string(27) "Failed to connect to server"
  87. ["errno"]=>
  88. int(-1781080368)
  89. ["errstr"]=>
  90. string(96) "Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?"
  91. }
  92. ["helo_rply"]=>
  93. NULL
  94. }
  95. ["to"]=>
  96. array(1) {
  97. [0]=>
  98. array(2) {
  99. [0]=>
  100. string(19) "n_ntltd@yahoo.co.uk"
  101. [1]=>
  102. string(0) ""
  103. }
  104. }
  105. ["cc"]=>
  106. array(0) {
  107. }
  108. ["bcc"]=>
  109. array(0) {
  110. }
  111. ["ReplyTo"]=>
  112. array(0) {
  113. }
  114. ["attachment"]=>
  115. array(0) {
  116. }
  117. ["CustomHeader"]=>
  118. array(0) {
  119. }
  120. ["message_type"]=>
  121. string(5) "plain"
  122. ["boundary"]=>
  123. array(2) {
  124. [1]=>
  125. string(35) "b1_e8a9cc79719d8b4cecb202e61f41c869"
  126. [2]=>
  127. string(35) "b2_e8a9cc79719d8b4cecb202e61f41c869"
  128. }
  129. ["language"]=>
  130. array(13) {
  131. ["mailer_not_supported"]=>
  132. string(25) " mailer is not supported."
  133. ["provide_address"]=>
  134. string(55) "You must provide at least one mailer is not supported."
  135. ["execute"]=>
  136. string(19) "Could not execute: "
  137. ["instantiate"]=>
  138. string(36) "Could not instantiate mail function."
  139. ["authenticate"]=>
  140. string(35) "SMTP Error: Could not authenticate."
  141. ["from_failed"]=>
  142. string(35) "The following From address failed: "
  143. ["data_not_accepted"]=>
  144. string(30) "SMTP Error: Data not accepted."
  145. ["recipients_failed"]=>
  146. string(56) "SMTP Error: The following SMTP Error: Data not accepted."
  147. ["connect_host"]=>
  148. string(43) "SMTP Error: Could not connect to SMTP host."
  149. ["file_access"]=>
  150. string(23) "Could not access file: "
  151. ["file_open"]=>
  152. string(33) "File Error: Could not open file: "
  153. ["encoding"]=>
  154. string(18) "Unknown encoding: "
  155. ["signing"]=>
  156. string(15) "Signing Error: "
  157. }
  158. ["error_count"]=>
  159. int(1)
  160. ["LE"]=>
  161. string(1) "
  162. "
  163. ["sign_cert_file"]=>
  164. string(0) ""
  165. ["sign_key_file"]=>
  166. string(0) ""
  167. ["sign_key_pass"]=>
  168. string(0) ""
  169. }
  170.  
  171. The SMTP debugging output is shown below:
  172.  
  173. SMTP -> ERROR: Failed to connect to server: Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP? (-1781080368)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement