WordPress.org

Ready to get started?Download WordPress

Forums

WP Mail SMTP
Send all WordPress emails via SMTP option dose not seem to work. (1 post)

  1. Paulhutchi
    Member
    Posted 1 year ago #

    Hey, chmac.

    I have a website (http://artmerchants.co.za) that is not lission to your option "Send all WordPress emails via SMTP"

    Test email works, here is a test:

    Test Message Sent
    The result was:
    bool(true)
    The full debugging output is shown below:
    
    object(PHPMailer)#343 (58) {
      ["Priority"]=>
      int(3)
      ["CharSet"]=>
      string(5) "UTF-8"
      ["ContentType"]=>
      string(10) "text/plain"
      ["Encoding"]=>
      string(4) "8bit"
      ["ErrorInfo"]=>
      string(0) ""
      ["From"]=>
      string(27) "#####@artmerchants.co.za"
      ["FromName"]=>
      string(13) "Art Merchants"
      ["Sender"]=>
      string(27) "####@artmerchants.co.za"
      ["Subject"]=>
      string(45) "WP Mail SMTP: Test mail to ###@mindtag.co.za"
      ["Body"]=>
      string(68) "This is a test email generated by the WP Mail SMTP WordPress plugin."
      ["AltBody"]=>
      string(0) ""
      ["MIMEBody:protected"]=>
      string(69) "This is a test email generated by the WP Mail SMTP WordPress plugin.
    "
      ["MIMEHeader:protected"]=>
      string(465) "Date: Mon, 26 Nov 2012 14:39:10 +0000
    Return-Path: #######@artmerchants.co.za
    To: #####@mindtag.co.za
    From: Art Merchants
    Subject: WP Mail SMTP: Test mail to ######@mindtag.co.za
    Message-ID:
    X-Priority: 3
    X-Mailer: PHPMailer 5.2.1 (http://code.google.com/a/apache-extras.org/p/phpmailer/)
    MIME-Version: 1.0
    Content-Transfer-Encoding: 8bit
    Content-Type: text/plain; charset="UTF-8"
    
    "
      ["SentMIMEMessage:protected"]=>
      string(538) "Date: Mon, 26 Nov 2012 14:39:10 +0000
    Return-Path: #####@artmerchants.co.za
    To: ####@mindtag.co.za
    From: Art Merchants
    Subject: WP Mail SMTP: Test mail to #####@mindtag.co.za
    Message-ID:
    X-Priority: 3
    X-Mailer: PHPMailer 5.2.1 (http://code.google.com/a/apache-extras.org/p/phpmailer/)
    MIME-Version: 1.0
    Content-Transfer-Encoding: 8bit
    Content-Type: text/plain; charset="UTF-8"
    
    This is a test email generated by the WP Mail SMTP WordPress plugin.
    "
      ["WordWrap"]=>
      int(0)
      ["Mailer"]=>
      string(4) "smtp"
      ["Sendmail"]=>
      string(18) "/usr/sbin/sendmail"
      ["PluginDir"]=>
      string(0) ""
      ["ConfirmReadingTo"]=>
      string(0) ""
      ["Hostname"]=>
      string(0) ""
      ["MessageID"]=>
      string(0) ""
      ["Host"]=>
      string(14) "smtp.gmail.com"
      ["Port"]=>
      string(3) "587"
      ["Helo"]=>
      string(0) ""
      ["SMTPSecure"]=>
      string(3) "tls"
      ["SMTPAuth"]=>
      bool(true)
      ["Username"]=>
      string(27) "######@artmerchants.co.za"
      ["Password"]=>
      string(10) "#password#"
      ["Timeout"]=>
      int(10)
      ["SMTPDebug"]=>
      int(2)
      ["SMTPKeepAlive"]=>
      bool(false)
      ["SingleTo"]=>
      bool(false)
      ["SingleToArray"]=>
      array(0) {
      }
      ["LE"]=>
      string(1) "
    "
      ["DKIM_selector"]=>
      string(9) "phpmailer"
      ["DKIM_identity"]=>
      string(0) ""
      ["DKIM_passphrase"]=>
      string(0) ""
      ["DKIM_domain"]=>
      string(0) ""
      ["DKIM_private"]=>
      string(0) ""
      ["action_function"]=>
      string(0) ""
      ["Version"]=>
      string(5) "5.2.1"
      ["XMailer"]=>
      string(0) ""
      ["smtp:protected"]=>
      object(SMTP)#342 (8) {
        ["SMTP_PORT"]=>
        int(25)
        ["CRLF"]=>
        string(2) "
    "
        ["do_debug"]=>
        int(2)
        ["do_verp"]=>
        bool(false)
        ["Version"]=>
        string(5) "5.2.1"
        ["smtp_conn:private"]=>
        resource(171) of type (stream)
        ["error:private"]=>
        NULL
        ["helo_rply:private"]=>
        string(149) "250-mx.google.com at your service, [198.154.204.140]
    250-SIZE 35882577
    250-8BITMIME
    250-AUTH LOGIN PLAIN XOAUTH XOAUTH2
    250 ENHANCEDSTATUSCODES
    "
      }
      ["to:protected"]=>
      array(1) {
        [0]=>
        array(2) {
          [0]=>
          string(18) "#####@mindtag.co.za"
          [1]=>
          string(0) ""
        }
      }
      ["cc:protected"]=>
      array(0) {
      }
      ["bcc:protected"]=>
      array(0) {
      }
      ["ReplyTo:protected"]=>
      array(0) {
      }
      ["all_recipients:protected"]=>
      array(1) {
        ["#####@mindtag.co.za"]=>
        bool(true)
      }
      ["attachment:protected"]=>
      array(0) {
      }
      ["CustomHeader:protected"]=>
      array(0) {
      }
      ["message_type:protected"]=>
      string(5) "plain"
      ["boundary:protected"]=>
      array(3) {
        [1]=>
        string(35) "b1_c41bebe0e55957bd5197071cdf4beee5"
        [2]=>
        string(35) "b2_c41bebe0e55957bd5197071cdf4beee5"
        [3]=>
        string(35) "b3_c41bebe0e55957bd5197071cdf4beee5"
      }
      ["language:protected"]=>
      array(0) {
      }
      ["error_count:protected"]=>
      int(0)
      ["sign_cert_file:protected"]=>
      string(0) ""
      ["sign_key_file:protected"]=>
      string(0) ""
      ["sign_key_pass:protected"]=>
      string(0) ""
      ["exceptions:protected"]=>
      bool(false)
    }
    
    The SMTP debugging output is shown below:
    
    SMTP -> FROM SERVER:220 mx.google.com ESMTP oj1sm8874934pbb.19
    
    SMTP -> FROM SERVER: 250-mx.google.com at your service, [198.154.204.140]
    250-SIZE 35882577
    250-8BITMIME
    250-STARTTLS
    250 ENHANCEDSTATUSCODES
    
    SMTP -> FROM SERVER:220 2.0.0 Ready to start TLS
    
    SMTP -> FROM SERVER: 250-mx.google.com at your service, [198.154.204.140]
    250-SIZE 35882577
    250-8BITMIME
    250-AUTH LOGIN PLAIN XOAUTH XOAUTH2
    250 ENHANCEDSTATUSCODES
    
    SMTP -> FROM SERVER:250 2.1.0 OK oj1sm8874934pbb.19
    
    SMTP -> FROM SERVER:250 2.1.5 OK oj1sm8874934pbb.19
    
    SMTP -> FROM SERVER:354  Go ahead oj1sm8874934pbb.19
    
    SMTP -> FROM SERVER:250 2.0.0 OK 1353940753 oj1sm8874934pbb.19

    So you testing tool works, but yet it dose not replace the PHP mailer.

    Thanks in advanced.
    Paul
    http://www.mindtag.co.za

    http://wordpress.org/extend/plugins/wp-mail-smtp/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic