rofickachmad

SMTP Log

Jul 13th, 2017
523
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. The result was:
  3. bool(false)
  4. The full debugging output is shown below:
  5. object(PHPMailer)#1618 (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(43) "SMTP Error: Could not connect to SMTP host."
  18.   ["From"]=>
  19.   string(19) "[email protected]"
  20.   ["FromName"]=>
  21.   string(7) "Senasif"
  22.   ["Sender"]=>
  23.   string(0) ""
  24.   ["ReturnPath"]=>
  25.   string(0) ""
  26.   ["Subject"]=>
  27.   string(51) "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(358) "Date: Thu, 13 Jul 2017 13:10:23 +0000
  39. From: Senasif
  40. Subject: WP Mail SMTP: Test mail to [email protected]
  41. Message-ID: <[email protected]>
  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, 13 Jul 2017 13:10:23 +0000"
  67.   ["Host"]=>
  68.   string(14) "smtp.gmail.com"
  69.   ["Port"]=>
  70.   string(3) "587"
  71.   ["Helo"]=>
  72.   string(0) ""
  73.   ["SMTPSecure"]=>
  74.   string(3) "tls"
  75.   ["SMTPAutoTLS"]=>
  76.   bool(true)
  77.   ["SMTPAuth"]=>
  78.   bool(true)
  79.   ["SMTPOptions"]=>
  80.   array(0) {
  81.   }
  82.   ["Username"]=>
  83.   string(19) "[email protected]"
  84.   ["Password"]=>
  85.   string(8) "unmerfti"
  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)#1615 (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(45) "221 srv2.niagahoster.com closing connection
  175. "
  176.   }
  177.   ["to":protected]=>
  178.   array(1) {
  179.     [0]=>
  180.     array(2) {
  181.       [0]=>
  182.       string(24) "[email protected]"
  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.     ["[email protected]"]=>
  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(54) "<[email protected]>"
  215.   ["message_type":protected]=>
  216.   string(5) "plain"
  217.   ["boundary":protected]=>
  218.   array(3) {
  219.     [1]=>
  220.     string(35) "b1_2b0bab215535d96f2976c1a7a99cd8a6"
  221.     [2]=>
  222.     string(35) "b2_2b0bab215535d96f2976c1a7a99cd8a6"
  223.     [3]=>
  224.     string(35) "b3_2b0bab215535d96f2976c1a7a99cd8a6"
  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) "2b0bab215535d96f2976c1a7a99cd8a6"
  281. }
  282. The SMTP debugging output is shown below:
  283. 2017-07-13 13:10:23 Connection: opening to smtp.gmail.com:587, timeout=300, options=array (
  284.                                       )
  285. 2017-07-13 13:10:23 Connection: opened
  286. 2017-07-13 13:10:23 SMTP -> get_lines(): $data is ""
  287. 2017-07-13 13:10:23 SMTP -> get_lines(): $str is  "220-srv2.niagahoster.com ESMTP Exim 4.89 #1 Thu, 13 Jul 2017 20:10:23 +0700
  288.                                       "
  289. 2017-07-13 13:10:23 SMTP -> get_lines(): $data is "220-srv2.niagahoster.com ESMTP Exim 4.89 #1 Thu, 13 Jul 2017 20:10:23 +0700
  290.                                       "
  291. 2017-07-13 13:10:23 SMTP -> get_lines(): $str is  "220-We do not authorize the use of this system to transport unsolicited,
  292.                                       "
  293. 2017-07-13 13:10:23 SMTP -> get_lines(): $data is "220-srv2.niagahoster.com ESMTP Exim 4.89 #1 Thu, 13 Jul 2017 20:10:23 +0700
  294.                                       220-We do not authorize the use of this system to transport unsolicited,
  295.                                       "
  296. 2017-07-13 13:10:23 SMTP -> get_lines(): $str is  "220 and/or bulk e-mail.
  297.                                       "
  298. 2017-07-13 13:10:23 SERVER -> CLIENT: 220-srv2.niagahoster.com ESMTP Exim 4.89 #1 Thu, 13 Jul 2017 20:10:23 +0700
  299.                                       220-We do not authorize the use of this system to transport unsolicited,
  300.                                       220 and/or bulk e-mail.
  301. 2017-07-13 13:10:23 CLIENT -> SERVER: EHLO senasif.unmer.ac.id
  302. 2017-07-13 13:10:23 SMTP -> get_lines(): $data is ""
  303. 2017-07-13 13:10:23 SMTP -> get_lines(): $str is  "250-srv2.niagahoster.com Hello senasif.unmer.ac.id [182.253.236.3]
  304.                                       "
  305. 2017-07-13 13:10:23 SMTP -> get_lines(): $data is "250-srv2.niagahoster.com Hello senasif.unmer.ac.id [182.253.236.3]
  306.                                       "
  307. 2017-07-13 13:10:23 SMTP -> get_lines(): $str is  "250-SIZE 52428800
  308.                                       "
  309. 2017-07-13 13:10:23 SMTP -> get_lines(): $data is "250-srv2.niagahoster.com Hello senasif.unmer.ac.id [182.253.236.3]
  310.                                       250-SIZE 52428800
  311.                                       "
  312. 2017-07-13 13:10:23 SMTP -> get_lines(): $str is  "250-8BITMIME
  313.                                       "
  314. 2017-07-13 13:10:23 SMTP -> get_lines(): $data is "250-srv2.niagahoster.com Hello senasif.unmer.ac.id [182.253.236.3]
  315.                                       250-SIZE 52428800
  316.                                       250-8BITMIME
  317.                                       "
  318. 2017-07-13 13:10:23 SMTP -> get_lines(): $str is  "250-PIPELINING
  319.                                       "
  320. 2017-07-13 13:10:23 SMTP -> get_lines(): $data is "250-srv2.niagahoster.com Hello senasif.unmer.ac.id [182.253.236.3]
  321.                                       250-SIZE 52428800
  322.                                       250-8BITMIME
  323.                                       250-PIPELINING
  324.                                       "
  325. 2017-07-13 13:10:23 SMTP -> get_lines(): $str is  "250-AUTH PLAIN LOGIN
  326.                                       "
  327. 2017-07-13 13:10:23 SMTP -> get_lines(): $data is "250-srv2.niagahoster.com Hello senasif.unmer.ac.id [182.253.236.3]
  328.                                       250-SIZE 52428800
  329.                                       250-8BITMIME
  330.                                       250-PIPELINING
  331.                                       250-AUTH PLAIN LOGIN
  332.                                       "
  333. 2017-07-13 13:10:23 SMTP -> get_lines(): $str is  "250-STARTTLS
  334.                                       "
  335. 2017-07-13 13:10:23 SMTP -> get_lines(): $data is "250-srv2.niagahoster.com Hello senasif.unmer.ac.id [182.253.236.3]
  336.                                       250-SIZE 52428800
  337.                                       250-8BITMIME
  338.                                       250-PIPELINING
  339.                                       250-AUTH PLAIN LOGIN
  340.                                       250-STARTTLS
  341.                                       "
  342. 2017-07-13 13:10:23 SMTP -> get_lines(): $str is  "250 HELP
  343.                                       "
  344. 2017-07-13 13:10:23 SERVER -> CLIENT: 250-srv2.niagahoster.com Hello senasif.unmer.ac.id [182.253.236.3]
  345.                                       250-SIZE 52428800
  346.                                       250-8BITMIME
  347.                                       250-PIPELINING
  348.                                       250-AUTH PLAIN LOGIN
  349.                                       250-STARTTLS
  350.                                       250 HELP
  351. 2017-07-13 13:10:23 CLIENT -> SERVER: STARTTLS
  352. 2017-07-13 13:10:23 SMTP -> get_lines(): $data is ""
  353. 2017-07-13 13:10:23 SMTP -> get_lines(): $str is  "220 TLS go ahead
  354.                                       "
  355. 2017-07-13 13:10:23 SERVER -> CLIENT: 220 TLS go ahead
  356. 2017-07-13 13:10:23 SMTP Error: Could not connect to SMTP host.
  357. 2017-07-13 13:10:23 CLIENT -> SERVER: QUIT
  358. 2017-07-13 13:10:23 SMTP -> get_lines(): $data is ""
  359. 2017-07-13 13:10:23 SMTP -> get_lines(): $str is  "221 srv2.niagahoster.com closing connection
  360.                                       "
  361. 2017-07-13 13:10:23 SERVER -> CLIENT: 221 srv2.niagahoster.com closing connection
  362. 2017-07-13 13:10:23 Connection: closed
  363. 2017-07-13 13:10:23 SMTP Error: Could not connect to SMTP host.
Add Comment
Please, Sign In to add comment