Advertisement
Guest User

Untitled

a guest
Aug 3rd, 2018
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.50 KB | None | 0 0
  1. Test Message Sent
  2.  
  3. The result was:
  4.  
  5. bool(false)
  6. The full debugging output is shown below:
  7.  
  8. object(PHPMailer)#9153 (76) {
  9. ["Version"]=>
  10. string(6) "5.2.22"
  11. ["Priority"]=>
  12. NULL
  13. ["CharSet"]=>
  14. string(5) "UTF-8"
  15. ["ContentType"]=>
  16. string(10) "text/plain"
  17. ["Encoding"]=>
  18. string(4) "7bit"
  19. ["ErrorInfo"]=>
  20. string(35) "SMTP Error: Could not authenticate."
  21. ["From"]=>
  22. string(23) "support@tinphatapple.vn"
  23. ["FromName"]=>
  24. string(79) "TinPhatApple.Vn - Mua, bán macbook mới, cũ chính hãng, bảo hành 2 năm"
  25. ["Sender"]=>
  26. string(23) "support@tinphatapple.vn"
  27. ["ReturnPath"]=>
  28. string(0) ""
  29. ["Subject"]=>
  30. string(55) "WP Email SMTP: Test mail to hoanghung10041997@gmail.com"
  31. ["Body"]=>
  32. string(69) "This is a test email generated by the WP Email SMTP WordPress plugin."
  33. ["AltBody"]=>
  34. string(0) ""
  35. ["Ical"]=>
  36. string(0) ""
  37. ["MIMEBody":protected]=>
  38. string(70) "This is a test email generated by the WP Email SMTP WordPress plugin.
  39. "
  40. ["MIMEHeader":protected]=>
  41. string(506) "Date: Fri, 3 Aug 2018 08:12:03 +0000
  42. To: hoanghung10041997@gmail.com
  43. From: =?UTF-8?Q?TinPhatApple=2EVn_-_Mua=2C_b=C3=A1n_macbook_m=E1=BB=9Bi=2C_c?=
  44. =?UTF-8?Q?=C5=A9_ch=C3=ADnh_h=C3=A3ng=2C_b=E1=BA=A3o_h=C3=A0nh_2_n=C4=83m?=
  45. Subject: WP Email SMTP: Test mail to hoanghung10041997@gmail.com
  46. Message-ID: <0a39ad45df573cab0977acde75ac4531@tinphatapple.vn>
  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(30) "Fri, 3 Aug 2018 08:12:03 +0000"
  72. ["Host"]=>
  73. string(14) "smtp.gmail.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(23) "support@tinphatapple.vn"
  89. ["Password"]=>
  90. string(16) "ymixebdnqatudeuh"
  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)#9156 (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. NULL
  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(60) "221 2.0.0 closing connection r81-v6sm6353464pfa.18 - gsmtp
  180. "
  181. }
  182. ["to":protected]=>
  183. array(1) {
  184. [0]=>
  185. array(2) {
  186. [0]=>
  187. string(27) "hoanghung10041997@gmail.com"
  188. [1]=>
  189. string(0) ""
  190. }
  191. }
  192. ["cc":protected]=>
  193. array(0) {
  194. }
  195. ["bcc":protected]=>
  196. array(0) {
  197. }
  198. ["ReplyTo":protected]=>
  199. array(0) {
  200. }
  201. ["all_recipients":protected]=>
  202. array(1) {
  203. ["hoanghung10041997@gmail.com"]=>
  204. bool(true)
  205. }
  206. ["RecipientsQueue":protected]=>
  207. array(0) {
  208. }
  209. ["ReplyToQueue":protected]=>
  210. array(0) {
  211. }
  212. ["attachment":protected]=>
  213. array(0) {
  214. }
  215. ["CustomHeader":protected]=>
  216. array(0) {
  217. }
  218. ["lastMessageID":protected]=>
  219. string(50) "<0a39ad45df573cab0977acde75ac4531@tinphatapple.vn>"
  220. ["message_type":protected]=>
  221. string(5) "plain"
  222. ["boundary":protected]=>
  223. array(3) {
  224. [1]=>
  225. string(35) "b1_0a39ad45df573cab0977acde75ac4531"
  226. [2]=>
  227. string(35) "b2_0a39ad45df573cab0977acde75ac4531"
  228. [3]=>
  229. string(35) "b3_0a39ad45df573cab0977acde75ac4531"
  230. }
  231. ["language":protected]=>
  232. array(19) {
  233. ["authenticate"]=>
  234. string(35) "SMTP Error: Could not authenticate."
  235. ["connect_host"]=>
  236. string(43) "SMTP Error: Could not connect to SMTP host."
  237. ["data_not_accepted"]=>
  238. string(30) "SMTP Error: data not accepted."
  239. ["empty_message"]=>
  240. string(18) "Message body empty"
  241. ["encoding"]=>
  242. string(18) "Unknown encoding: "
  243. ["execute"]=>
  244. string(19) "Could not execute: "
  245. ["file_access"]=>
  246. string(23) "Could not access file: "
  247. ["file_open"]=>
  248. string(33) "File Error: Could not open file: "
  249. ["from_failed"]=>
  250. string(35) "The following From address failed: "
  251. ["instantiate"]=>
  252. string(36) "Could not instantiate mail function."
  253. ["invalid_address"]=>
  254. string(17) "Invalid address: "
  255. ["mailer_not_supported"]=>
  256. string(25) " mailer is not supported."
  257. ["provide_address"]=>
  258. string(54) "You must provide at least one recipient email address."
  259. ["recipients_failed"]=>
  260. string(45) "SMTP Error: The following recipients failed: "
  261. ["signing"]=>
  262. string(15) "Signing Error: "
  263. ["smtp_connect_failed"]=>
  264. string(22) "SMTP connect() failed."
  265. ["smtp_error"]=>
  266. string(19) "SMTP server error: "
  267. ["variable_set"]=>
  268. string(30) "Cannot set or reset variable: "
  269. ["extension_missing"]=>
  270. string(19) "Extension missing: "
  271. }
  272. ["error_count":protected]=>
  273. int(2)
  274. ["sign_cert_file":protected]=>
  275. string(0) ""
  276. ["sign_key_file":protected]=>
  277. string(0) ""
  278. ["sign_extracerts_file":protected]=>
  279. string(0) ""
  280. ["sign_key_pass":protected]=>
  281. string(0) ""
  282. ["exceptions":protected]=>
  283. bool(true)
  284. ["uniqueid":protected]=>
  285. string(32) "0a39ad45df573cab0977acde75ac4531"
  286. }
  287. The SMTP debugging output is shown below:
  288.  
  289. 2018-08-03 08:12:03 Connection: opening to ssl://smtp.gmail.com:465, timeout=300, options=array (
  290. )
  291. 2018-08-03 08:12:03 Connection: opened
  292. 2018-08-03 08:12:03 SMTP -> get_lines(): $data is ""
  293. 2018-08-03 08:12:03 SMTP -> get_lines(): $str is "220 smtp.gmail.com ESMTP r81-v6sm6353464pfa.18 - gsmtp
  294. "
  295. 2018-08-03 08:12:03 SERVER -> CLIENT: 220 smtp.gmail.com ESMTP r81-v6sm6353464pfa.18 - gsmtp
  296. 2018-08-03 08:12:03 CLIENT -> SERVER: EHLO tinphatapple.vn
  297. 2018-08-03 08:12:03 SMTP -> get_lines(): $data is ""
  298. 2018-08-03 08:12:03 SMTP -> get_lines(): $str is "250-smtp.gmail.com at your service, [112.213.89.135]
  299. "
  300. 2018-08-03 08:12:03 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [112.213.89.135]
  301. "
  302. 2018-08-03 08:12:03 SMTP -> get_lines(): $str is "250-SIZE 35882577
  303. "
  304. 2018-08-03 08:12:03 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [112.213.89.135]
  305. 250-SIZE 35882577
  306. "
  307. 2018-08-03 08:12:03 SMTP -> get_lines(): $str is "250-8BITMIME
  308. "
  309. 2018-08-03 08:12:03 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [112.213.89.135]
  310. 250-SIZE 35882577
  311. 250-8BITMIME
  312. "
  313. 2018-08-03 08:12:03 SMTP -> get_lines(): $str is "250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
  314. "
  315. 2018-08-03 08:12:03 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [112.213.89.135]
  316. 250-SIZE 35882577
  317. 250-8BITMIME
  318. 250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
  319. "
  320. 2018-08-03 08:12:03 SMTP -> get_lines(): $str is "250-ENHANCEDSTATUSCODES
  321. "
  322. 2018-08-03 08:12:03 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [112.213.89.135]
  323. 250-SIZE 35882577
  324. 250-8BITMIME
  325. 250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
  326. 250-ENHANCEDSTATUSCODES
  327. "
  328. 2018-08-03 08:12:03 SMTP -> get_lines(): $str is "250-PIPELINING
  329. "
  330. 2018-08-03 08:12:03 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [112.213.89.135]
  331. 250-SIZE 35882577
  332. 250-8BITMIME
  333. 250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
  334. 250-ENHANCEDSTATUSCODES
  335. 250-PIPELINING
  336. "
  337. 2018-08-03 08:12:03 SMTP -> get_lines(): $str is "250-CHUNKING
  338. "
  339. 2018-08-03 08:12:03 SMTP -> get_lines(): $data is "250-smtp.gmail.com at your service, [112.213.89.135]
  340. 250-SIZE 35882577
  341. 250-8BITMIME
  342. 250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
  343. 250-ENHANCEDSTATUSCODES
  344. 250-PIPELINING
  345. 250-CHUNKING
  346. "
  347. 2018-08-03 08:12:03 SMTP -> get_lines(): $str is "250 SMTPUTF8
  348. "
  349. 2018-08-03 08:12:03 SERVER -> CLIENT: 250-smtp.gmail.com at your service, [112.213.89.135]
  350. 250-SIZE 35882577
  351. 250-8BITMIME
  352. 250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
  353. 250-ENHANCEDSTATUSCODES
  354. 250-PIPELINING
  355. 250-CHUNKING
  356. 250 SMTPUTF8
  357. 2018-08-03 08:12:03 Auth method requested: UNKNOWN
  358. 2018-08-03 08:12:03 Auth methods available on the server: LOGIN,PLAIN,XOAUTH2,PLAIN-CLIENTTOKEN,OAUTHBEARER,XOAUTH
  359. 2018-08-03 08:12:03 Auth method selected: LOGIN
  360. 2018-08-03 08:12:03 CLIENT -> SERVER: AUTH LOGIN
  361. 2018-08-03 08:12:03 SMTP -> get_lines(): $data is ""
  362. 2018-08-03 08:12:03 SMTP -> get_lines(): $str is "334 VXNlcm5hbWU6
  363. "
  364. 2018-08-03 08:12:03 SERVER -> CLIENT: 334 VXNlcm5hbWU6
  365. 2018-08-03 08:12:03 CLIENT -> SERVER: c3VwcG9ydEB0aW5waGF0YXBwbGUudm4=
  366. 2018-08-03 08:12:03 SMTP -> get_lines(): $data is ""
  367. 2018-08-03 08:12:03 SMTP -> get_lines(): $str is "334 UGFzc3dvcmQ6
  368. "
  369. 2018-08-03 08:12:03 SERVER -> CLIENT: 334 UGFzc3dvcmQ6
  370. 2018-08-03 08:12:03 CLIENT -> SERVER: eW1peGViZG5xYXR1ZGV1aA==
  371. 2018-08-03 08:12:04 SMTP -> get_lines(): $data is ""
  372. 2018-08-03 08:12:04 SMTP -> get_lines(): $str is "535-5.7.8 Username and Password not accepted. Learn more at
  373. "
  374. 2018-08-03 08:12:04 SMTP -> get_lines(): $data is "535-5.7.8 Username and Password not accepted. Learn more at
  375. "
  376. 2018-08-03 08:12:04 SMTP -> get_lines(): $str is "535 5.7.8 https://support.google.com/mail/?p=BadCredentials r81-v6sm6353464pfa.18 - gsmtp
  377. "
  378. 2018-08-03 08:12:04 SERVER -> CLIENT: 535-5.7.8 Username and Password not accepted. Learn more at
  379. 535 5.7.8 https://support.google.com/mail/?p=BadCredentials r81-v6sm6353464pfa.18 - gsmtp
  380. 2018-08-03 08:12:04 SMTP ERROR: Password command failed: 535-5.7.8 Username and Password not accepted. Learn more at
  381. 535 5.7.8 https://support.google.com/mail/?p=BadCredentials r81-v6sm6353464pfa.18 - gsmtp
  382. 2018-08-03 08:12:04 SMTP Error: Could not authenticate.
  383. 2018-08-03 08:12:04 CLIENT -> SERVER: QUIT
  384. 2018-08-03 08:12:04 SMTP -> get_lines(): $data is ""
  385. 2018-08-03 08:12:04 SMTP -> get_lines(): $str is "221 2.0.0 closing connection r81-v6sm6353464pfa.18 - gsmtp
  386. "
  387. 2018-08-03 08:12:04 SERVER -> CLIENT: 221 2.0.0 closing connection r81-v6sm6353464pfa.18 - gsmtp
  388. 2018-08-03 08:12:04 Connection: closed
  389. 2018-08-03 08:12:04 SMTP Error: Could not authenticate.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement