GigilinE

Untitled

Jan 26th, 2017
454
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.03 KB | None | 0 0
  1. Test Message Sent
  2. The result was:
  3. bool(false)
  4. The full debugging output is shown below:
  5. object(PHPMailer)#11484 (76) {
  6. ["Version"]=>
  7. string(6) "5.2.22"
  8. ["Priority"]=>
  9. NULL
  10. ["CharSet"]=>
  11. string(5) "UTF-8"
  12. ["ContentType"]=>
  13. string(10) "text/plain"
  14. ["Encoding"]=>
  15. string(4) "7bit"
  16. ["ErrorInfo"]=>
  17. string(82) "SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting"
  18. ["From"]=>
  19. string(20) "[email protected]"
  20. ["FromName"]=>
  21. string(11) "Millestampe"
  22. ["Sender"]=>
  23. string(0) ""
  24. ["ReturnPath"]=>
  25. string(0) ""
  26. ["Subject"]=>
  27. string(46) "WP Mail SMTP: Test mail to [email protected]"
  28. ["Body"]=>
  29. string(68) "This is a test email generated by the WP Mail SMTP WordPress plugin."
  30. ["AltBody"]=>
  31. string(0) ""
  32. ["Ical"]=>
  33. string(0) ""
  34. ["MIMEBody":protected]=>
  35. string(69) "This is a test email generated by the WP Mail SMTP WordPress plugin.
  36. "
  37. ["MIMEHeader":protected]=>
  38. string(349) "Date: Thu, 26 Jan 2017 09:19:02 +0000
  39. From: Millestampe
  40. Subject: WP Mail SMTP: Test mail to [email protected]
  41. Message-ID: <[email protected]>
  42. X-Mailer: PHPMailer 5.2.22 (https://github.com/PHPMailer/PHPMailer)
  43. MIME-Version: 1.0
  44. Content-Type: text/plain; charset=UTF-8
  45.  
  46. "
  47. ["mailHeader":protected]=>
  48. string(0) ""
  49. ["WordWrap"]=>
  50. int(0)
  51. ["Mailer"]=>
  52. string(4) "smtp"
  53. ["Sendmail"]=>
  54. string(18) "/usr/sbin/sendmail"
  55. ["UseSendmailOptions"]=>
  56. bool(true)
  57. ["PluginDir"]=>
  58. string(0) ""
  59. ["ConfirmReadingTo"]=>
  60. string(0) ""
  61. ["Hostname"]=>
  62. string(0) ""
  63. ["MessageID"]=>
  64. string(0) ""
  65. ["MessageDate"]=>
  66. string(31) "Thu, 26 Jan 2017 09:19:02 +0000"
  67. ["Host"]=>
  68. string(17) "smtp.sendgrid.net"
  69. ["Port"]=>
  70. string(4) "2525"
  71. ["Helo"]=>
  72. string(0) ""
  73. ["SMTPSecure"]=>
  74. string(3) "tls"
  75. ["SMTPAutoTLS"]=>
  76. bool(true)
  77. ["SMTPAuth"]=>
  78. bool(true)
  79. ["SMTPOptions"]=>
  80. array(0) {
  81. }
  82. ["Username"]=>
  83. string(14) "[email protected]"
  84. ["Password"]=>
  85. string(8) "xxxx"
  86. ["AuthType"]=>
  87. string(0) ""
  88. ["Realm"]=>
  89. string(0) ""
  90. ["Workstation"]=>
  91. string(0) ""
  92. ["Timeout"]=>
  93. int(300)
  94. ["SMTPDebug"]=>
  95. bool(true)
  96. ["Debugoutput"]=>
  97. string(4) "echo"
  98. ["SMTPKeepAlive"]=>
  99. bool(false)
  100. ["SingleTo"]=>
  101. bool(false)
  102. ["SingleToArray"]=>
  103. array(0) {
  104. }
  105. ["do_verp"]=>
  106. bool(false)
  107. ["AllowEmpty"]=>
  108. bool(false)
  109. ["LE"]=>
  110. string(1) "
  111. "
  112. ["DKIM_selector"]=>
  113. string(0) ""
  114. ["DKIM_identity"]=>
  115. string(0) ""
  116. ["DKIM_passphrase"]=>
  117. string(0) ""
  118. ["DKIM_domain"]=>
  119. string(0) ""
  120. ["DKIM_private"]=>
  121. string(0) ""
  122. ["DKIM_private_string"]=>
  123. string(0) ""
  124. ["action_function"]=>
  125. string(0) ""
  126. ["XMailer"]=>
  127. string(0) ""
  128. ["smtp":protected]=>
  129. object(SMTP)#11485 (14) {
  130. ["Version"]=>
  131. string(6) "5.2.22"
  132. ["SMTP_PORT"]=>
  133. int(25)
  134. ["CRLF"]=>
  135. string(2) "
  136. "
  137. ["do_debug"]=>
  138. bool(true)
  139. ["Debugoutput"]=>
  140. string(4) "echo"
  141. ["do_verp"]=>
  142. bool(false)
  143. ["Timeout"]=>
  144. int(300)
  145. ["Timelimit"]=>
  146. int(300)
  147. ["smtp_transaction_id_patterns":protected]=>
  148. array(3) {
  149. ["exim"]=>
  150. string(21) "/[0-9]{3} OK id=(.*)/"
  151. ["sendmail"]=>
  152. string(29) "/[0-9]{3} 2.0.0 (.*) Message/"
  153. ["postfix"]=>
  154. string(35) "/[0-9]{3} 2.0.0 Ok: queued as (.*)/"
  155. }
  156. ["smtp_conn":protected]=>
  157. bool(false)
  158. ["error":protected]=>
  159. array(4) {
  160. ["error"]=>
  161. string(0) ""
  162. ["detail"]=>
  163. string(0) ""
  164. ["smtp_code"]=>
  165. string(0) ""
  166. ["smtp_code_ex"]=>
  167. string(0) ""
  168. }
  169. ["helo_rply":protected]=>
  170. NULL
  171. ["server_caps":protected]=>
  172. NULL
  173. ["last_reply":protected]=>
  174. string(0) ""
  175. }
  176. ["to":protected]=>
  177. array(1) {
  178. [0]=>
  179. array(2) {
  180. [0]=>
  181. string(19) "[email protected]"
  182. [1]=>
  183. string(0) ""
  184. }
  185. }
  186. ["cc":protected]=>
  187. array(0) {
  188. }
  189. ["bcc":protected]=>
  190. array(0) {
  191. }
  192. ["ReplyTo":protected]=>
  193. array(0) {
  194. }
  195. ["all_recipients":protected]=>
  196. array(1) {
  197. bool(true)
  198. }
  199. ["RecipientsQueue":protected]=>
  200. array(0) {
  201. }
  202. ["ReplyToQueue":protected]=>
  203. array(0) {
  204. }
  205. ["attachment":protected]=>
  206. array(0) {
  207. }
  208. ["CustomHeader":protected]=>
  209. array(0) {
  210. }
  211. ["lastMessageID":protected]=>
  212. string(50) "<[email protected]>"
  213. ["message_type":protected]=>
  214. string(5) "plain"
  215. ["boundary":protected]=>
  216. array(3) {
  217. [1]=>
  218. string(35) "b1_0b2dbbbfadc18c454e4324984e6f89b1"
  219. [2]=>
  220. string(35) "b2_0b2dbbbfadc18c454e4324984e6f89b1"
  221. [3]=>
  222. string(35) "b3_0b2dbbbfadc18c454e4324984e6f89b1"
  223. }
  224. ["language":protected]=>
  225. array(19) {
  226. ["authenticate"]=>
  227. string(35) "SMTP Error: Could not authenticate."
  228. ["connect_host"]=>
  229. string(43) "SMTP Error: Could not connect to SMTP host."
  230. ["data_not_accepted"]=>
  231. string(30) "SMTP Error: data not accepted."
  232. ["empty_message"]=>
  233. string(18) "Message body empty"
  234. ["encoding"]=>
  235. string(18) "Unknown encoding: "
  236. ["execute"]=>
  237. string(19) "Could not execute: "
  238. ["file_access"]=>
  239. string(23) "Could not access file: "
  240. ["file_open"]=>
  241. string(33) "File Error: Could not open file: "
  242. ["from_failed"]=>
  243. string(35) "The following From address failed: "
  244. ["instantiate"]=>
  245. string(36) "Could not instantiate mail function."
  246. ["invalid_address"]=>
  247. string(17) "Invalid address: "
  248. ["mailer_not_supported"]=>
  249. string(25) " mailer is not supported."
  250. ["provide_address"]=>
  251. string(54) "You must provide at least one recipient email address."
  252. ["recipients_failed"]=>
  253. string(45) "SMTP Error: The following recipients failed: "
  254. ["signing"]=>
  255. string(15) "Signing Error: "
  256. ["smtp_connect_failed"]=>
  257. string(22) "SMTP connect() failed."
  258. ["smtp_error"]=>
  259. string(19) "SMTP server error: "
  260. ["variable_set"]=>
  261. string(30) "Cannot set or reset variable: "
  262. ["extension_missing"]=>
  263. string(19) "Extension missing: "
  264. }
  265. ["error_count":protected]=>
  266. int(2)
  267. ["sign_cert_file":protected]=>
  268. string(0) ""
  269. ["sign_key_file":protected]=>
  270. string(0) ""
  271. ["sign_extracerts_file":protected]=>
  272. string(0) ""
  273. ["sign_key_pass":protected]=>
  274. string(0) ""
  275. ["exceptions":protected]=>
  276. bool(true)
  277. ["uniqueid":protected]=>
  278. string(32) "0b2dbbbfadc18c454e4324984e6f89b1"
  279. }
  280. The SMTP debugging output is shown below:
  281. 2017-01-26 09:19:02 Connection: opening to smtp.sendgrid.net:2525, timeout=300, options=array (
  282. )
  283. 2017-01-26 09:21:08 Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): unable to connect to smtp.sendgrid.net:2525 (Connection timed out)
  284. 2017-01-26 09:21:08 SMTP ERROR: Failed to connect to server: Connection timed out (110)
  285. 2017-01-26 09:21:08 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Advertisement
Add Comment
Please, Sign In to add comment