Advertisement
Guest User

Untitled

a guest
May 2nd, 2017
561
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.40 KB | None | 0 0
  1. The result was:
  2. bool(false)
  3. The full debugging output is shown below:
  4. object(PHPMailer)#1667 (76) {
  5. ["Version"]=>
  6. string(6) "5.2.22"
  7. ["Priority"]=>
  8. NULL
  9. ["CharSet"]=>
  10. string(5) "UTF-8"
  11. ["ContentType"]=>
  12. string(10) "text/plain"
  13. ["Encoding"]=>
  14. string(4) "7bit"
  15. ["ErrorInfo"]=>
  16. string(43) "SMTP Error: Could not connect to SMTP host."
  17. ["From"]=>
  18. string(31) "wordpress@midpoint-security.com"
  19. ["FromName"]=>
  20. string(9) "WordPress"
  21. ["Sender"]=>
  22. string(31) "wordpress@midpoint-security.com"
  23. ["ReturnPath"]=>
  24. string(0) ""
  25. ["Subject"]=>
  26. string(49) "WP Mail SMTP: Test mail to justinas.k@midpoint.lt"
  27. ["Body"]=>
  28. string(68) "This is a test email generated by the WP Mail SMTP WordPress plugin."
  29. ["AltBody"]=>
  30. string(0) ""
  31. ["Ical"]=>
  32. string(0) ""
  33. ["MIMEBody":protected]=>
  34. string(69) "This is a test email generated by the WP Mail SMTP WordPress plugin.
  35. "
  36. ["MIMEHeader":protected]=>
  37. string(369) "Date: Tue, 2 May 2017 11:03:29 +0000
  38. To: justinas.k@midpoint.lt
  39. From: WordPress
  40. Subject: WP Mail SMTP: Test mail to justinas.k@midpoint.lt
  41. Message-ID: <1dcb31fb37f068567b061591d11be1d5@midpoint-security.com>
  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(30) "Tue, 2 May 2017 11:03:29 +0000"
  67. ["Host"]=>
  68. string(9) "localhost"
  69. ["Port"]=>
  70. string(2) "25"
  71. ["Helo"]=>
  72. string(0) ""
  73. ["SMTPSecure"]=>
  74. string(0) ""
  75. ["SMTPAutoTLS"]=>
  76. bool(true)
  77. ["SMTPAuth"]=>
  78. bool(false)
  79. ["SMTPOptions"]=>
  80. array(0) {
  81. }
  82. ["Username"]=>
  83. string(0) ""
  84. ["Password"]=>
  85. string(0) ""
  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)#1594 (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. NULL
  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(44) "221 algirdas.domenai.lt closing connection
  175. "
  176. }
  177. ["to":protected]=>
  178. array(1) {
  179. [0]=>
  180. array(2) {
  181. [0]=>
  182. string(22) "justinas.k@midpoint.lt"
  183. [1]=>
  184. string(0) ""
  185. }
  186. }
  187. ["cc":protected]=>
  188. array(0) {
  189. }
  190. ["bcc":protected]=>
  191. array(0) {
  192. }
  193. ["ReplyTo":protected]=>
  194. array(0) {
  195. }
  196. ["all_recipients":protected]=>
  197. array(1) {
  198. ["justinas.k@midpoint.lt"]=>
  199. bool(true)
  200. }
  201. ["RecipientsQueue":protected]=>
  202. array(0) {
  203. }
  204. ["ReplyToQueue":protected]=>
  205. array(0) {
  206. }
  207. ["attachment":protected]=>
  208. array(0) {
  209. }
  210. ["CustomHeader":protected]=>
  211. array(0) {
  212. }
  213. ["lastMessageID":protected]=>
  214. string(56) "<1dcb31fb37f068567b061591d11be1d5@midpoint-security.com>"
  215. ["message_type":protected]=>
  216. string(5) "plain"
  217. ["boundary":protected]=>
  218. array(3) {
  219. [1]=>
  220. string(35) "b1_1dcb31fb37f068567b061591d11be1d5"
  221. [2]=>
  222. string(35) "b2_1dcb31fb37f068567b061591d11be1d5"
  223. [3]=>
  224. string(35) "b3_1dcb31fb37f068567b061591d11be1d5"
  225. }
  226. ["language":protected]=>
  227. array(19) {
  228. ["authenticate"]=>
  229. string(35) "SMTP Error: Could not authenticate."
  230. ["connect_host"]=>
  231. string(43) "SMTP Error: Could not connect to SMTP host."
  232. ["data_not_accepted"]=>
  233. string(30) "SMTP Error: data not accepted."
  234. ["empty_message"]=>
  235. string(18) "Message body empty"
  236. ["encoding"]=>
  237. string(18) "Unknown encoding: "
  238. ["execute"]=>
  239. string(19) "Could not execute: "
  240. ["file_access"]=>
  241. string(23) "Could not access file: "
  242. ["file_open"]=>
  243. string(33) "File Error: Could not open file: "
  244. ["from_failed"]=>
  245. string(35) "The following From address failed: "
  246. ["instantiate"]=>
  247. string(36) "Could not instantiate mail function."
  248. ["invalid_address"]=>
  249. string(17) "Invalid address: "
  250. ["mailer_not_supported"]=>
  251. string(25) " mailer is not supported."
  252. ["provide_address"]=>
  253. string(54) "You must provide at least one recipient email address."
  254. ["recipients_failed"]=>
  255. string(45) "SMTP Error: The following recipients failed: "
  256. ["signing"]=>
  257. string(15) "Signing Error: "
  258. ["smtp_connect_failed"]=>
  259. string(22) "SMTP connect() failed."
  260. ["smtp_error"]=>
  261. string(19) "SMTP server error: "
  262. ["variable_set"]=>
  263. string(30) "Cannot set or reset variable: "
  264. ["extension_missing"]=>
  265. string(19) "Extension missing: "
  266. }
  267. ["error_count":protected]=>
  268. int(2)
  269. ["sign_cert_file":protected]=>
  270. string(0) ""
  271. ["sign_key_file":protected]=>
  272. string(0) ""
  273. ["sign_extracerts_file":protected]=>
  274. string(0) ""
  275. ["sign_key_pass":protected]=>
  276. string(0) ""
  277. ["exceptions":protected]=>
  278. bool(true)
  279. ["uniqueid":protected]=>
  280. string(32) "1dcb31fb37f068567b061591d11be1d5"
  281. }
  282. The SMTP debugging output is shown below:
  283. 2017-05-02 11:03:29 Connection: opening to localhost:25, timeout=300, options=array (
  284. )
  285. 2017-05-02 11:03:29 Connection: opened
  286. 2017-05-02 11:03:29 SMTP -> get_lines(): $data is ""
  287. 2017-05-02 11:03:29 SMTP -> get_lines(): $str is "220 algirdas.domenai.lt ESMTP Exim 4.89 Tue, 02 May 2017 14:03:29 +0300
  288. "
  289. 2017-05-02 11:03:29 SERVER -> CLIENT: 220 algirdas.domenai.lt ESMTP Exim 4.89 Tue, 02 May 2017 14:03:29 +0300
  290. 2017-05-02 11:03:29 CLIENT -> SERVER: EHLO midpoint-security.com
  291. 2017-05-02 11:03:29 SMTP -> get_lines(): $data is ""
  292. 2017-05-02 11:03:29 SMTP -> get_lines(): $str is "250-algirdas.domenai.lt Hello midpoint-security.com [127.0.0.1]
  293. "
  294. 2017-05-02 11:03:29 SMTP -> get_lines(): $data is "250-algirdas.domenai.lt Hello midpoint-security.com [127.0.0.1]
  295. "
  296. 2017-05-02 11:03:29 SMTP -> get_lines(): $str is "250-SIZE 52428800
  297. "
  298. 2017-05-02 11:03:29 SMTP -> get_lines(): $data is "250-algirdas.domenai.lt Hello midpoint-security.com [127.0.0.1]
  299. 250-SIZE 52428800
  300. "
  301. 2017-05-02 11:03:29 SMTP -> get_lines(): $str is "250-8BITMIME
  302. "
  303. 2017-05-02 11:03:29 SMTP -> get_lines(): $data is "250-algirdas.domenai.lt Hello midpoint-security.com [127.0.0.1]
  304. 250-SIZE 52428800
  305. 250-8BITMIME
  306. "
  307. 2017-05-02 11:03:29 SMTP -> get_lines(): $str is "250-PIPELINING
  308. "
  309. 2017-05-02 11:03:29 SMTP -> get_lines(): $data is "250-algirdas.domenai.lt Hello midpoint-security.com [127.0.0.1]
  310. 250-SIZE 52428800
  311. 250-8BITMIME
  312. 250-PIPELINING
  313. "
  314. 2017-05-02 11:03:29 SMTP -> get_lines(): $str is "250-AUTH LOGIN
  315. "
  316. 2017-05-02 11:03:29 SMTP -> get_lines(): $data is "250-algirdas.domenai.lt Hello midpoint-security.com [127.0.0.1]
  317. 250-SIZE 52428800
  318. 250-8BITMIME
  319. 250-PIPELINING
  320. 250-AUTH LOGIN
  321. "
  322. 2017-05-02 11:03:29 SMTP -> get_lines(): $str is "250-CHUNKING
  323. "
  324. 2017-05-02 11:03:29 SMTP -> get_lines(): $data is "250-algirdas.domenai.lt Hello midpoint-security.com [127.0.0.1]
  325. 250-SIZE 52428800
  326. 250-8BITMIME
  327. 250-PIPELINING
  328. 250-AUTH LOGIN
  329. 250-CHUNKING
  330. "
  331. 2017-05-02 11:03:29 SMTP -> get_lines(): $str is "250-STARTTLS
  332. "
  333. 2017-05-02 11:03:29 SMTP -> get_lines(): $data is "250-algirdas.domenai.lt Hello midpoint-security.com [127.0.0.1]
  334. 250-SIZE 52428800
  335. 250-8BITMIME
  336. 250-PIPELINING
  337. 250-AUTH LOGIN
  338. 250-CHUNKING
  339. 250-STARTTLS
  340. "
  341. 2017-05-02 11:03:29 SMTP -> get_lines(): $str is "250 HELP
  342. "
  343. 2017-05-02 11:03:29 SERVER -> CLIENT: 250-algirdas.domenai.lt Hello midpoint-security.com [127.0.0.1]
  344. 250-SIZE 52428800
  345. 250-8BITMIME
  346. 250-PIPELINING
  347. 250-AUTH LOGIN
  348. 250-CHUNKING
  349. 250-STARTTLS
  350. 250 HELP
  351. 2017-05-02 11:03:29 CLIENT -> SERVER: STARTTLS
  352. 2017-05-02 11:03:29 SMTP -> get_lines(): $data is ""
  353. 2017-05-02 11:03:29 SMTP -> get_lines(): $str is "220 TLS go ahead
  354. "
  355. 2017-05-02 11:03:29 SERVER -> CLIENT: 220 TLS go ahead
  356. 2017-05-02 11:03:29 SMTP Error: Could not connect to SMTP host.
  357. 2017-05-02 11:03:29 CLIENT -> SERVER: QUIT
  358. 2017-05-02 11:03:29 SMTP -> get_lines(): $data is ""
  359. 2017-05-02 11:03:29 SMTP -> get_lines(): $str is "221 algirdas.domenai.lt closing connection
  360. "
  361. 2017-05-02 11:03:29 SERVER -> CLIENT: 221 algirdas.domenai.lt closing connection
  362. 2017-05-02 11:03:29 Connection: closed
  363. 2017-05-02 11:03:29 SMTP Error: Could not connect to SMTP host.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement