Advertisement
Guest User

SMTP Yandex

a guest
Apr 26th, 2017
20,542
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.95 KB | None | 0 0
  1. The result was:
  2. bool(false)
  3. The full debugging output is shown below:
  4. object(PHPMailer)#8156 (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(82) "SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting"
  17. ["From"]=>
  18. string(20) "admin@bimbimshop.com"
  19. ["FromName"]=>
  20. string(10) "DucThinhDo"
  21. ["Sender"]=>
  22. string(0) ""
  23. ["ReturnPath"]=>
  24. string(0) ""
  25. ["Subject"]=>
  26. string(52) "WP Mail SMTP: Test mail to nguyendragon789@gmail.com"
  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(359) "Date: Thu, 27 Apr 2017 02:43:26 +0000
  38. To: nguyendragon789@gmail.com
  39. From: DucThinhDo
  40. Subject: WP Mail SMTP: Test mail to nguyendragon789@gmail.com
  41. Message-ID:
  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, 27 Apr 2017 02:43:26 +0000"
  67. ["Host"]=>
  68. string(15) "smtp.yandex.com"
  69. ["Port"]=>
  70. string(3) "465"
  71. ["Helo"]=>
  72. string(0) ""
  73. ["SMTPSecure"]=>
  74. string(3) "ssl"
  75. ["SMTPAutoTLS"]=>
  76. bool(true)
  77. ["SMTPAuth"]=>
  78. bool(true)
  79. ["SMTPOptions"]=>
  80. array(0) {
  81. }
  82. ["Username"]=>
  83. string(20) "admin@bimbimshop.com"
  84. ["Password"]=>
  85. string(11) "lamgiau33@W"
  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)#8155 (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(25) "nguyendragon789@gmail.com"
  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. ["nguyendragon789@gmail.com"]=>
  198. bool(true)
  199. }
  200. ["RecipientsQueue":protected]=>
  201. array(0) {
  202. }
  203. ["ReplyToQueue":protected]=>
  204. array(0) {
  205. }
  206. ["attachment":protected]=>
  207. array(0) {
  208. }
  209. ["CustomHeader":protected]=>
  210. array(0) {
  211. }
  212. ["lastMessageID":protected]=>
  213. string(49) ""
  214. ["message_type":protected]=>
  215. string(5) "plain"
  216. ["boundary":protected]=>
  217. array(3) {
  218. [1]=>
  219. string(35) "b1_de5b74c8279dc1248257f969cfb5ec83"
  220. [2]=>
  221. string(35) "b2_de5b74c8279dc1248257f969cfb5ec83"
  222. [3]=>
  223. string(35) "b3_de5b74c8279dc1248257f969cfb5ec83"
  224. }
  225. ["language":protected]=>
  226. array(19) {
  227. ["authenticate"]=>
  228. string(35) "SMTP Error: Could not authenticate."
  229. ["connect_host"]=>
  230. string(43) "SMTP Error: Could not connect to SMTP host."
  231. ["data_not_accepted"]=>
  232. string(30) "SMTP Error: data not accepted."
  233. ["empty_message"]=>
  234. string(18) "Message body empty"
  235. ["encoding"]=>
  236. string(18) "Unknown encoding: "
  237. ["execute"]=>
  238. string(19) "Could not execute: "
  239. ["file_access"]=>
  240. string(23) "Could not access file: "
  241. ["file_open"]=>
  242. string(33) "File Error: Could not open file: "
  243. ["from_failed"]=>
  244. string(35) "The following From address failed: "
  245. ["instantiate"]=>
  246. string(36) "Could not instantiate mail function."
  247. ["invalid_address"]=>
  248. string(17) "Invalid address: "
  249. ["mailer_not_supported"]=>
  250. string(25) " mailer is not supported."
  251. ["provide_address"]=>
  252. string(54) "You must provide at least one recipient email address."
  253. ["recipients_failed"]=>
  254. string(45) "SMTP Error: The following recipients failed: "
  255. ["signing"]=>
  256. string(15) "Signing Error: "
  257. ["smtp_connect_failed"]=>
  258. string(22) "SMTP connect() failed."
  259. ["smtp_error"]=>
  260. string(19) "SMTP server error: "
  261. ["variable_set"]=>
  262. string(30) "Cannot set or reset variable: "
  263. ["extension_missing"]=>
  264. string(19) "Extension missing: "
  265. }
  266. ["error_count":protected]=>
  267. int(2)
  268. ["sign_cert_file":protected]=>
  269. string(0) ""
  270. ["sign_key_file":protected]=>
  271. string(0) ""
  272. ["sign_extracerts_file":protected]=>
  273. string(0) ""
  274. ["sign_key_pass":protected]=>
  275. string(0) ""
  276. ["exceptions":protected]=>
  277. bool(true)
  278. ["uniqueid":protected]=>
  279. string(32) "de5b74c8279dc1248257f969cfb5ec83"
  280. }
  281. The SMTP debugging output is shown below:
  282. 2017-04-27 02:43:26 Connection: opening to ssl://smtp.yandex.com:465, timeout=300, options=array (
  283. )
  284. 2017-04-27 02:43:31 Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): unable to connect to ssl://smtp.yandex.com:465 (Connection refused)
  285. 2017-04-27 02:43:31 SMTP ERROR: Failed to connect to server: Connection refused (111)
  286. 2017-04-27 02:43:31 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement