Advertisement
Guest User

Untitled

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