Guest User

Untitled

a guest
Jan 20th, 2017
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.26 KB | None | 0 0
  1. Test Message Sent
  2. The result was:
  3. bool(true)
  4. The full debugging output is shown below:
  5. object(PHPMailer)#11223 (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(0) ""
  18. ["From"]=>
  19. string(20) "[email protected]"
  20. ["FromName"]=>
  21. string(47) "Магазин игрушек - ПОПУГАЙ!"
  22. ["Sender"]=>
  23. string(0) ""
  24. ["ReturnPath"]=>
  25. string(0) ""
  26. ["Subject"]=>
  27. string(47) "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(427) "Date: Fri, 20 Jan 2017 07:12:57 +0000
  39. From: =?UTF-8?B?0JzQsNCz0LDQt9C40L0g0LjQs9GA0YPRiNC10LogLSDQn9Ce0J/Qo9CT0JA=?=
  40. =?UTF-8?B?0Jkh?=
  41. Subject: WP Mail SMTP: Test mail to [email protected]
  42. Message-ID:
  43. X-Mailer: PHPMailer 5.2.22 (https://github.com/PHPMailer/PHPMailer)
  44. MIME-Version: 1.0
  45. Content-Type: text/plain; charset=UTF-8
  46.  
  47. "
  48. ["mailHeader":protected]=>
  49. string(0) ""
  50. ["WordWrap"]=>
  51. int(0)
  52. ["Mailer"]=>
  53. string(4) "smtp"
  54. ["Sendmail"]=>
  55. string(18) "/usr/sbin/sendmail"
  56. ["UseSendmailOptions"]=>
  57. bool(true)
  58. ["PluginDir"]=>
  59. string(0) ""
  60. ["ConfirmReadingTo"]=>
  61. string(0) ""
  62. ["Hostname"]=>
  63. string(0) ""
  64. ["MessageID"]=>
  65. string(0) ""
  66. ["MessageDate"]=>
  67. string(31) "Fri, 20 Jan 2017 07:12:57 +0000"
  68. ["Host"]=>
  69. string(21) "smtp.elasticemail.com"
  70. ["Port"]=>
  71. string(2) "25"
  72. ["Helo"]=>
  73. string(0) ""
  74. ["SMTPSecure"]=>
  75. string(0) ""
  76. ["SMTPAutoTLS"]=>
  77. bool(true)
  78. ["SMTPAuth"]=>
  79. bool(true)
  80. ["SMTPOptions"]=>
  81. array(0) {
  82. }
  83. ["Username"]=>
  84. string(20) "[email protected]"
  85. ["Password"]=>
  86. string(36) "ebe1e98e-b2dc-4165-90d0-d42a91070366"
  87. ["AuthType"]=>
  88. string(0) ""
  89. ["Realm"]=>
  90. string(0) ""
  91. ["Workstation"]=>
  92. string(0) ""
  93. ["Timeout"]=>
  94. int(300)
  95. ["SMTPDebug"]=>
  96. bool(true)
  97. ["Debugoutput"]=>
  98. string(4) "echo"
  99. ["SMTPKeepAlive"]=>
  100. bool(false)
  101. ["SingleTo"]=>
  102. bool(false)
  103. ["SingleToArray"]=>
  104. array(0) {
  105. }
  106. ["do_verp"]=>
  107. bool(false)
  108. ["AllowEmpty"]=>
  109. bool(false)
  110. ["LE"]=>
  111. string(1) "
  112. "
  113. ["DKIM_selector"]=>
  114. string(0) ""
  115. ["DKIM_identity"]=>
  116. string(0) ""
  117. ["DKIM_passphrase"]=>
  118. string(0) ""
  119. ["DKIM_domain"]=>
  120. string(0) ""
  121. ["DKIM_private"]=>
  122. string(0) ""
  123. ["DKIM_private_string"]=>
  124. string(0) ""
  125. ["action_function"]=>
  126. string(0) ""
  127. ["XMailer"]=>
  128. string(0) ""
  129. ["smtp":protected]=>
  130. object(SMTP)#11224 (14) {
  131. ["Version"]=>
  132. string(6) "5.2.22"
  133. ["SMTP_PORT"]=>
  134. int(25)
  135. ["CRLF"]=>
  136. string(2) "
  137. "
  138. ["do_debug"]=>
  139. bool(true)
  140. ["Debugoutput"]=>
  141. string(4) "echo"
  142. ["do_verp"]=>
  143. bool(false)
  144. ["Timeout"]=>
  145. int(300)
  146. ["Timelimit"]=>
  147. int(300)
  148. ["smtp_transaction_id_patterns":protected]=>
  149. array(3) {
  150. ["exim"]=>
  151. string(21) "/[0-9]{3} OK id=(.*)/"
  152. ["sendmail"]=>
  153. string(29) "/[0-9]{3} 2.0.0 (.*) Message/"
  154. ["postfix"]=>
  155. string(35) "/[0-9]{3} 2.0.0 Ok: queued as (.*)/"
  156. }
  157. ["smtp_conn":protected]=>
  158. NULL
  159. ["error":protected]=>
  160. array(4) {
  161. ["error"]=>
  162. string(0) ""
  163. ["detail"]=>
  164. string(0) ""
  165. ["smtp_code"]=>
  166. string(0) ""
  167. ["smtp_code_ex"]=>
  168. string(0) ""
  169. }
  170. ["helo_rply":protected]=>
  171. NULL
  172. ["server_caps":protected]=>
  173. NULL
  174. ["last_reply":protected]=>
  175. string(14) "221 Good bye
  176. "
  177. }
  178. ["to":protected]=>
  179. array(1) {
  180. [0]=>
  181. array(2) {
  182. [0]=>
  183. string(20) "[email protected]"
  184. [1]=>
  185. string(0) ""
  186. }
  187. }
  188. ["cc":protected]=>
  189. array(0) {
  190. }
  191. ["bcc":protected]=>
  192. array(0) {
  193. }
  194. ["ReplyTo":protected]=>
  195. array(0) {
  196. }
  197. ["all_recipients":protected]=>
  198. array(1) {
  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(47) ""
  215. ["message_type":protected]=>
  216. string(5) "plain"
  217. ["boundary":protected]=>
  218. array(3) {
  219. [1]=>
  220. string(35) "b1_a57a0eb0abe015f3e73deb6d30bc4efb"
  221. [2]=>
  222. string(35) "b2_a57a0eb0abe015f3e73deb6d30bc4efb"
  223. [3]=>
  224. string(35) "b3_a57a0eb0abe015f3e73deb6d30bc4efb"
  225. }
  226. ["language":protected]=>
  227. array(0) {
  228. }
  229. ["error_count":protected]=>
  230. int(0)
  231. ["sign_cert_file":protected]=>
  232. string(0) ""
  233. ["sign_key_file":protected]=>
  234. string(0) ""
  235. ["sign_extracerts_file":protected]=>
  236. string(0) ""
  237. ["sign_key_pass":protected]=>
  238. string(0) ""
  239. ["exceptions":protected]=>
  240. bool(true)
  241. ["uniqueid":protected]=>
  242. string(32) "a57a0eb0abe015f3e73deb6d30bc4efb"
  243. }
  244. The SMTP debugging output is shown below:
  245. 2017-01-20 07:12:57 Connection: opening to smtp.elasticemail.com:25, timeout=300, options=array (
  246. )
  247. 2017-01-20 07:12:57 Connection: opened
  248. 2017-01-20 07:12:57 SMTP -> get_lines(): $data is ""
  249. 2017-01-20 07:12:57 SMTP -> get_lines(): $str is "220 smtp.elasticemail.com ESMTP
  250. "
  251. 2017-01-20 07:12:57 SERVER -> CLIENT: 220 smtp.elasticemail.com ESMTP
  252. 2017-01-20 07:12:57 CLIENT -> SERVER: EHLO popugai70.ru
  253. 2017-01-20 07:12:57 SMTP -> get_lines(): $data is ""
  254. 2017-01-20 07:12:57 SMTP -> get_lines(): $str is "250-smtp.elasticemail.com
  255. "
  256. 2017-01-20 07:12:57 SMTP -> get_lines(): $data is "250-smtp.elasticemail.com
  257. "
  258. 2017-01-20 07:12:57 SMTP -> get_lines(): $str is "250-PIPELINING
  259. "
  260. 2017-01-20 07:12:57 SMTP -> get_lines(): $data is "250-smtp.elasticemail.com
  261. 250-PIPELINING
  262. "
  263. 2017-01-20 07:12:57 SMTP -> get_lines(): $str is "250-SIZE 20971520
  264. "
  265. 2017-01-20 07:12:57 SMTP -> get_lines(): $data is "250-smtp.elasticemail.com
  266. 250-PIPELINING
  267. 250-SIZE 20971520
  268. "
  269. 2017-01-20 07:12:57 SMTP -> get_lines(): $str is "250-8BITMIME
  270. "
  271. 2017-01-20 07:12:57 SMTP -> get_lines(): $data is "250-smtp.elasticemail.com
  272. 250-PIPELINING
  273. 250-SIZE 20971520
  274. 250-8BITMIME
  275. "
  276. 2017-01-20 07:12:57 SMTP -> get_lines(): $str is "250-AUTH=PLAIN LOGIN CRAM-MD5
  277. "
  278. 2017-01-20 07:12:57 SMTP -> get_lines(): $data is "250-smtp.elasticemail.com
  279. 250-PIPELINING
  280. 250-SIZE 20971520
  281. 250-8BITMIME
  282. 250-AUTH=PLAIN LOGIN CRAM-MD5
  283. "
  284. 2017-01-20 07:12:57 SMTP -> get_lines(): $str is "250-AUTH PLAIN LOGIN CRAM-MD5
  285. "
  286. 2017-01-20 07:12:57 SMTP -> get_lines(): $data is "250-smtp.elasticemail.com
  287. 250-PIPELINING
  288. 250-SIZE 20971520
  289. 250-8BITMIME
  290. 250-AUTH=PLAIN LOGIN CRAM-MD5
  291. 250-AUTH PLAIN LOGIN CRAM-MD5
  292. "
  293. 2017-01-20 07:12:57 SMTP -> get_lines(): $str is "250-STARTTLS
  294. "
  295. 2017-01-20 07:12:57 SMTP -> get_lines(): $data is "250-smtp.elasticemail.com
  296. 250-PIPELINING
  297. 250-SIZE 20971520
  298. 250-8BITMIME
  299. 250-AUTH=PLAIN LOGIN CRAM-MD5
  300. 250-AUTH PLAIN LOGIN CRAM-MD5
  301. 250-STARTTLS
  302. "
  303. 2017-01-20 07:12:57 SMTP -> get_lines(): $str is "250 OK
  304. "
  305. 2017-01-20 07:12:57 SERVER -> CLIENT: 250-smtp.elasticemail.com
  306. 250-PIPELINING
  307. 250-SIZE 20971520
  308. 250-8BITMIME
  309. 250-AUTH=PLAIN LOGIN CRAM-MD5
  310. 250-AUTH PLAIN LOGIN CRAM-MD5
  311. 250-STARTTLS
  312. 250 OK
  313. 2017-01-20 07:12:57 CLIENT -> SERVER: STARTTLS
  314. 2017-01-20 07:12:57 SMTP -> get_lines(): $data is ""
  315. 2017-01-20 07:12:57 SMTP -> get_lines(): $str is "220 Begin TLS negotiation
  316. "
  317. 2017-01-20 07:12:57 SERVER -> CLIENT: 220 Begin TLS negotiation
  318. 2017-01-20 07:12:57 CLIENT -> SERVER: EHLO popugai70.ru
  319. 2017-01-20 07:12:57 SMTP -> get_lines(): $data is ""
  320. 2017-01-20 07:12:57 SMTP -> get_lines(): $str is "250-smtp.elasticemail.com
  321. "
  322. 2017-01-20 07:12:57 SMTP -> get_lines(): $data is "250-smtp.elasticemail.com
  323. "
  324. 2017-01-20 07:12:57 SMTP -> get_lines(): $str is "250-PIPELINING
  325. "
  326. 2017-01-20 07:12:57 SMTP -> get_lines(): $data is "250-smtp.elasticemail.com
  327. 250-PIPELINING
  328. "
  329. 2017-01-20 07:12:57 SMTP -> get_lines(): $str is "250-SIZE 20971520
  330. "
  331. 2017-01-20 07:12:57 SMTP -> get_lines(): $data is "250-smtp.elasticemail.com
  332. 250-PIPELINING
  333. 250-SIZE 20971520
  334. "
  335. 2017-01-20 07:12:57 SMTP -> get_lines(): $str is "250-8BITMIME
  336. "
  337. 2017-01-20 07:12:57 SMTP -> get_lines(): $data is "250-smtp.elasticemail.com
  338. 250-PIPELINING
  339. 250-SIZE 20971520
  340. 250-8BITMIME
  341. "
  342. 2017-01-20 07:12:57 SMTP -> get_lines(): $str is "250-AUTH=PLAIN LOGIN CRAM-MD5
  343. "
  344. 2017-01-20 07:12:57 SMTP -> get_lines(): $data is "250-smtp.elasticemail.com
  345. 250-PIPELINING
  346. 250-SIZE 20971520
  347. 250-8BITMIME
  348. 250-AUTH=PLAIN LOGIN CRAM-MD5
  349. "
  350. 2017-01-20 07:12:57 SMTP -> get_lines(): $str is "250-AUTH PLAIN LOGIN CRAM-MD5
  351. "
  352. 2017-01-20 07:12:57 SMTP -> get_lines(): $data is "250-smtp.elasticemail.com
  353. 250-PIPELINING
  354. 250-SIZE 20971520
  355. 250-8BITMIME
  356. 250-AUTH=PLAIN LOGIN CRAM-MD5
  357. 250-AUTH PLAIN LOGIN CRAM-MD5
  358. "
  359. 2017-01-20 07:12:57 SMTP -> get_lines(): $str is "250 OK
  360. "
  361. 2017-01-20 07:12:57 SERVER -> CLIENT: 250-smtp.elasticemail.com
  362. 250-PIPELINING
  363. 250-SIZE 20971520
  364. 250-8BITMIME
  365. 250-AUTH=PLAIN LOGIN CRAM-MD5
  366. 250-AUTH PLAIN LOGIN CRAM-MD5
  367. 250 OK
  368. 2017-01-20 07:12:57 Auth method requested: UNKNOWN
  369. 2017-01-20 07:12:57 Auth methods available on the server: PLAIN,LOGIN,CRAM-MD5
  370. 2017-01-20 07:12:57 Auth method selected: CRAM-MD5
  371. 2017-01-20 07:12:57 CLIENT -> SERVER: AUTH CRAM-MD5
  372. 2017-01-20 07:12:57 SMTP -> get_lines(): $data is ""
  373. 2017-01-20 07:12:57 SMTP -> get_lines(): $str is "334 PGVmNzNkYmJhLWRkMmEtNDFlNC1hNjVlLTg2OWMyMzc0MTY5MT4=
  374. "
  375. 2017-01-20 07:12:57 SERVER -> CLIENT: 334 PGVmNzNkYmJhLWRkMmEtNDFlNC1hNjVlLTg2OWMyMzc0MTY5MT4=
  376. 2017-01-20 07:12:57 CLIENT -> SERVER: aWxkYXIuc29mdEBnbWFpbC5jb20gZjIwNWU1MjgzYWI0NjM1Mjk2Y2VkY2YyYWMwZTY0NjM=
  377. 2017-01-20 07:12:57 SMTP -> get_lines(): $data is ""
  378. 2017-01-20 07:12:57 SMTP -> get_lines(): $str is "235 Authentication successful
  379. "
  380. 2017-01-20 07:12:57 SERVER -> CLIENT: 235 Authentication successful
  381. 2017-01-20 07:12:57 CLIENT -> SERVER: MAIL FROM:
  382. 2017-01-20 07:12:57 SMTP -> get_lines(): $data is ""
  383. 2017-01-20 07:12:57 SMTP -> get_lines(): $str is "250 OK
  384. "
  385. 2017-01-20 07:12:57 SERVER -> CLIENT: 250 OK
  386. 2017-01-20 07:12:57 CLIENT -> SERVER: RCPT TO:
  387. 2017-01-20 07:12:57 SMTP -> get_lines(): $data is ""
  388. 2017-01-20 07:12:57 SMTP -> get_lines(): $str is "250 OK
  389. "
  390. 2017-01-20 07:12:57 SERVER -> CLIENT: 250 OK
  391. 2017-01-20 07:12:57 CLIENT -> SERVER: DATA
  392. 2017-01-20 07:12:57 SMTP -> get_lines(): $data is ""
  393. 2017-01-20 07:12:57 SMTP -> get_lines(): $str is "354 Begin send data. End with CRLF.CRLF
  394. "
  395. 2017-01-20 07:12:57 SERVER -> CLIENT: 354 Begin send data. End with CRLF.CRLF
  396. 2017-01-20 07:12:57 CLIENT -> SERVER: Date: Fri, 20 Jan 2017 07:12:57 +0000
  397. 2017-01-20 07:12:57 CLIENT -> SERVER: To: [email protected]
  398. 2017-01-20 07:12:57 CLIENT -> SERVER: From: =?UTF-8?B?0JzQsNCz0LDQt9C40L0g0LjQs9GA0YPRiNC10LogLSDQn9Ce0J/Qo9CT0JA=?=
  399. 2017-01-20 07:12:57 CLIENT -> SERVER: =?UTF-8?B?0Jkh?=
  400. 2017-01-20 07:12:57 CLIENT -> SERVER: Subject: WP Mail SMTP: Test mail to [email protected]
  401. 2017-01-20 07:12:57 CLIENT -> SERVER: Message-ID:
  402. 2017-01-20 07:12:57 CLIENT -> SERVER: X-Mailer: PHPMailer 5.2.22 (https://github.com/PHPMailer/PHPMailer)
  403. 2017-01-20 07:12:57 CLIENT -> SERVER: MIME-Version: 1.0
  404. 2017-01-20 07:12:57 CLIENT -> SERVER: Content-Type: text/plain; charset=UTF-8
  405. 2017-01-20 07:12:57 CLIENT -> SERVER:
  406. 2017-01-20 07:12:57 CLIENT -> SERVER: This is a test email generated by the WP Mail SMTP WordPress plugin.
  407. 2017-01-20 07:12:57 CLIENT -> SERVER:
  408. 2017-01-20 07:12:57 CLIENT -> SERVER: .
  409. 2017-01-20 07:12:57 SMTP -> get_lines(): $data is ""
  410. 2017-01-20 07:12:57 SMTP -> get_lines(): $str is "250 OK 6d4358e9-6b02-43fc-aff8-9db1bb3d6ff9
  411. "
  412. 2017-01-20 07:12:57 SERVER -> CLIENT: 250 OK 6d4358e9-6b02-43fc-aff8-9db1bb3d6ff9
  413. 2017-01-20 07:12:57 CLIENT -> SERVER: QUIT
  414. 2017-01-20 07:12:57 SMTP -> get_lines(): $data is ""
  415. 2017-01-20 07:12:57 SMTP -> get_lines(): $str is "221 Good bye
  416. "
  417. 2017-01-20 07:12:57 SERVER -> CLIENT: 221 Good bye
  418. 2017-01-20 07:12:57 Connection: closed
Advertisement
Add Comment
Please, Sign In to add comment