Advertisement
blackimpala

SMTP Testing Plugin WordPress

Dec 15th, 2023
1,074
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 5.85 KB | None | 1 0
  1. Test Message Sent
  2.  
  3. The result was:
  4.  
  5. bool(false)
  6.  
  7. The full debugging output is shown below:
  8.  
  9. object(PHPMailer\PHPMailer\PHPMailer)#10171 (74) {
  10.   ["Priority"]=>
  11.   NULL
  12.   ["CharSet"]=>
  13.   string(5) "UTF-8"
  14.   ["ContentType"]=>
  15.   string(9) "text/html"
  16.   ["Encoding"]=>
  17.   string(4) "7bit"
  18.   ["ErrorInfo"]=>
  19.   string(36) "Could not instantiate mail function."
  20.   ["From"]=>
  21.   string(25) "wordpress@mcmsoftware.com"
  22.   ["FromName"]=>
  23.   string(9) "WordPress"
  24.   ["Sender"]=>
  25.   string(0) ""
  26.   ["Subject"]=>
  27.   string(19) "testing SMTP Plugin"
  28.   ["Body"]=>
  29.   string(72) "This is a test email generated by the WP SendGrid SMTP WordPress plugin."
  30.   ["AltBody"]=>
  31.   string(0) ""
  32.   ["Ical"]=>
  33.   string(0) ""
  34.   ["MIMEBody":protected]=>
  35.   string(73) "This is a test email generated by the WP SendGrid SMTP WordPress plugin.
  36. "
  37.   ["MIMEHeader":protected]=>
  38.   string(279) "Date: Fri, 15 Dec 2023 21:12:52 +0000
  39. From: WordPress
  40. Message-ID:
  41. X-Mailer: PHPMailer 6.5.0 (https://github.com/PHPMailer/PHPMailer)
  42. MIME-Version: 1.0
  43. Content-Type: text/html; charset=UTF-8
  44. "
  45.   ["mailHeader":protected]=>
  46.   string(0) ""
  47.   ["WordWrap"]=>
  48.   int(0)
  49.   ["Mailer"]=>
  50.   string(4) "mail"
  51.   ["Sendmail"]=>
  52.   string(18) "/usr/sbin/sendmail"
  53.   ["UseSendmailOptions"]=>
  54.   bool(true)
  55.   ["ConfirmReadingTo"]=>
  56.   string(0) ""
  57.   ["Hostname"]=>
  58.   string(0) ""
  59.   ["MessageID"]=>
  60.   string(0) ""
  61.   ["MessageDate"]=>
  62.   string(0) ""
  63.   ["Host"]=>
  64.   string(9) "localhost"
  65.   ["Port"]=>
  66.   int(25)
  67.   ["Helo"]=>
  68.   string(0) ""
  69.   ["SMTPSecure"]=>
  70.   string(0) ""
  71.   ["SMTPAutoTLS"]=>
  72.   bool(true)
  73.   ["SMTPAuth"]=>
  74.   bool(false)
  75.   ["SMTPOptions"]=>
  76.   array(0) {
  77.   }
  78.   ["Username"]=>
  79.   string(0) ""
  80.   ["Password"]=>
  81.   string(0) ""
  82.   ["AuthType"]=>
  83.   string(0) ""
  84.   ["oauth":protected]=>
  85.   NULL
  86.   ["Timeout"]=>
  87.   int(300)
  88.   ["dsn"]=>
  89.   string(0) ""
  90.   ["SMTPDebug"]=>
  91.   bool(true)
  92.   ["Debugoutput"]=>
  93.   string(4) "html"
  94.   ["SMTPKeepAlive"]=>
  95.   bool(false)
  96.   ["SingleTo"]=>
  97.   bool(false)
  98.   ["SingleToArray":protected]=>
  99.   array(0) {
  100.   }
  101.   ["do_verp"]=>
  102.   bool(false)
  103.   ["AllowEmpty"]=>
  104.   bool(false)
  105.   ["DKIM_selector"]=>
  106.   string(0) ""
  107.   ["DKIM_identity"]=>
  108.   string(0) ""
  109.   ["DKIM_passphrase"]=>
  110.   string(0) ""
  111.   ["DKIM_domain"]=>
  112.   string(0) ""
  113.   ["DKIM_copyHeaderFields"]=>
  114.   bool(true)
  115.   ["DKIM_extraHeaders"]=>
  116.   array(0) {
  117.   }
  118.   ["DKIM_private"]=>
  119.   string(0) ""
  120.   ["DKIM_private_string"]=>
  121.   string(0) ""
  122.   ["action_function"]=>
  123.   string(0) ""
  124.   ["XMailer"]=>
  125.   string(0) ""
  126.   ["smtp":protected]=>
  127.   NULL
  128.   ["to":protected]=>
  129.   array(1) {
  130.     [0]=>
  131.     array(2) {
  132.       [0]=>
  133.       string(19) "infomcm@mcmprof.com"
  134.       [1]=>
  135.       string(0) ""
  136.     }
  137.   }
  138.   ["cc":protected]=>
  139.   array(0) {
  140.   }
  141.   ["bcc":protected]=>
  142.   array(0) {
  143.   }
  144.   ["ReplyTo":protected]=>
  145.   array(0) {
  146.   }
  147.   ["all_recipients":protected]=>
  148.   array(1) {
  149.     ["infomcm@mcmprof.com"]=>
  150.     bool(true)
  151.   }
  152.   ["RecipientsQueue":protected]=>
  153.   array(0) {
  154.   }
  155.   ["ReplyToQueue":protected]=>
  156.   array(0) {
  157.   }
  158.   ["attachment":protected]=>
  159.   array(0) {
  160.   }
  161.   ["CustomHeader":protected]=>
  162.   array(0) {
  163.   }
  164.   ["lastMessageID":protected]=>
  165.   string(60) ""
  166.   ["message_type":protected]=>
  167.   string(5) "plain"
  168.   ["boundary":protected]=>
  169.   array(3) {
  170.     [1]=>
  171.     string(45) "b1_Q7eBe6q6brRSQB0wkP2NvUfqOcMXUMppbinFnzToQM"
  172.     [2]=>
  173.     string(45) "b2_Q7eBe6q6brRSQB0wkP2NvUfqOcMXUMppbinFnzToQM"
  174.     [3]=>
  175.     string(45) "b3_Q7eBe6q6brRSQB0wkP2NvUfqOcMXUMppbinFnzToQM"
  176.   }
  177.   ["language":protected]=>
  178.   array(21) {
  179.     ["authenticate"]=>
  180.     string(35) "SMTP Error: Could not authenticate."
  181.     ["connect_host"]=>
  182.     string(43) "SMTP Error: Could not connect to SMTP host."
  183.     ["data_not_accepted"]=>
  184.     string(30) "SMTP Error: data not accepted."
  185.     ["empty_message"]=>
  186.     string(18) "Message body empty"
  187.     ["encoding"]=>
  188.     string(18) "Unknown encoding: "
  189.     ["execute"]=>
  190.     string(19) "Could not execute: "
  191.     ["file_access"]=>
  192.     string(23) "Could not access file: "
  193.     ["file_open"]=>
  194.     string(33) "File Error: Could not open file: "
  195.     ["from_failed"]=>
  196.     string(35) "The following From address failed: "
  197.     ["instantiate"]=>
  198.     string(36) "Could not instantiate mail function."
  199.     ["invalid_address"]=>
  200.     string(17) "Invalid address: "
  201.     ["invalid_hostentry"]=>
  202.     string(19) "Invalid hostentry: "
  203.     ["invalid_host"]=>
  204.     string(14) "Invalid host: "
  205.     ["mailer_not_supported"]=>
  206.     string(25) " mailer is not supported."
  207.     ["provide_address"]=>
  208.     string(54) "You must provide at least one recipient email address."
  209.     ["recipients_failed"]=>
  210.     string(45) "SMTP Error: The following recipients failed: "
  211.     ["signing"]=>
  212.     string(15) "Signing Error: "
  213.     ["smtp_connect_failed"]=>
  214.     string(22) "SMTP connect() failed."
  215.     ["smtp_error"]=>
  216.     string(19) "SMTP server error: "
  217.     ["variable_set"]=>
  218.     string(30) "Cannot set or reset variable: "
  219.     ["extension_missing"]=>
  220.     string(19) "Extension missing: "
  221.   }
  222.   ["error_count":protected]=>
  223.   int(2)
  224.   ["sign_cert_file":protected]=>
  225.   string(0) ""
  226.   ["sign_key_file":protected]=>
  227.   string(0) ""
  228.   ["sign_extracerts_file":protected]=>
  229.   string(0) ""
  230.   ["sign_key_pass":protected]=>
  231.   string(0) ""
  232.   ["exceptions":protected]=>
  233.   bool(true)
  234.   ["uniqueid":protected]=>
  235.   string(42) "Q7eBe6q6brRSQB0wkP2NvUfqOcMXUMppbinFnzToQM"
  236. }
  237.  
  238. The SMTP debugging output is shown below:
  239.  
  240. Sending with mail()
  241.  
  242. Sendmail path: /usr/sbin/sendmail -t -i
  243.  
  244. Envelope sender:
  245.  
  246. To: infomcm@mcmprof.com
  247.  
  248. Subject: testing SMTP Plugin
  249.  
  250. Headers: Date: Fri, 15 Dec 2023 21:12:52 +0000From: WordPress <wordpress@mcmsoftware.com>Message-ID: <Q7eBe6q6brRSQB0wkP2NvUfqOcMXUMppbinFnzToQM@mcmsoftware.com>X-Mailer: PHPMailer 6.5.0 (https://github.com/PHPMailer/PHPMailer)MIME-Version: 1.0Content-Type: text/html; charset=UTF-8
  251.  
  252. Result: false
  253.  
  254. Could not instantiate mail function.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement