WordPress.org

Ready to get started?Download WordPress

Forums

Password is not sent using login form (2 posts)

  1. sebelk
    Member
    Posted 1 year ago #

    Hi,

    When a user registers or asks for a forgotten password, the password is never sent.

    I don't know what to do.

    Please could you help me?

  2. sebelk
    Member
    Posted 1 year ago #

    I've found a workaround installing Select WP-Mail-SMTP plugin and using SMTP instead php mail ()

    Debug plugin info when using php function:

    result was:
    
    bool(true)
    
    The full debugging output is shown below:
    
    object(PHPMailer)#34 (58) {
      ["Priority"]=>
      int(3)
      ["CharSet"]=>
      string(5) "UTF-8"
      ["ContentType"]=>
      string(10) "text/plain"
      ["Encoding"]=>
      string(4) "8bit"
      ["ErrorInfo"]=>
      string(0) ""
      ["From"]=>
      string(21) "info@example.com"
      ["FromName"]=>
      string(11) "SeBelk FOSS"
      ["Sender"]=>
      string(0) ""
      ["Subject"]=>
      string(43) "WP Mail SMTP: Test mail to sebelk@example.net"
      ["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(372) "Date: Sun, 4 Nov 2012 14:17:37 +0000
    Return-Path: info@example.com
    From: SeBelk FOSS
    Message-ID: <4b69082cdecbb6c13350a2cbd1abb3a8@www.example.com>
    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(519) "Date: Sun, 4 Nov 2012 14:17:37 +0000
    Return-Path: info@example.com
    From: SeBelk FOSS
    Message-ID: <4b69082cdecbb6c13350a2cbd1abb3a8@www.example.com>
    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"
    To: o3147257@rtrtr.com
    Subject: WP Mail SMTP: Test mail to o3147257@rtrtr.com
    
    This is a test email generated by the WP Mail SMTP WordPress plugin.
    "
      ["WordWrap"]=>
      int(0)
      ["Mailer"]=>
      string(4) "mail"
      ["Sendmail"]=>
      string(18) "/usr/sbin/sendmail"
      ["PluginDir"]=>
      string(0) ""
      ["ConfirmReadingTo"]=>
      string(0) ""
      ["Hostname"]=>
      string(0) ""
      ["MessageID"]=>
      string(0) ""
      ["Host"]=>
      string(9) "localhost"
      ["Port"]=>
      int(25)
      ["Helo"]=>
      string(0) ""
      ["SMTPSecure"]=>
      string(0) ""
      ["SMTPAuth"]=>
      bool(false)
      ["Username"]=>
      string(0) ""
      ["Password"]=>
      string(0) ""
      ["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"]=>
      NULL
      ["to:protected"]=>
      array(1) {
        [0]=>
        array(2) {
          [0]=>
          string(16) "o3147257@rtrtr.com"
          [1]=>
          string(0) ""
        }
      }
      ["cc:protected"]=>
      array(0) {
      }
      ["bcc:protected"]=>
      array(0) {
      }
      ["ReplyTo:protected"]=>
      array(0) {
      }
      ["all_recipients:protected"]=>
      array(1) {
        ["o3147257@rtrtr.com"]=>
        bool(true)
      }
      ["attachment:protected"]=>
      array(0) {
      }
      ["CustomHeader:protected"]=>
      array(0) {
      }
      ["message_type:protected"]=>
      string(5) "plain"
      ["boundary:protected"]=>
      array(3) {
        [1]=>
        string(35) "b1_4b69082cdecbb6c13350a2cbd1abb3a8"
        [2]=>
        string(35) "b2_4b69082cdecbb6c13350a2cbd1abb3a8"
        [3]=>
        string(35) "b3_4b69082cdecbb6c13350a2cbd1abb3a8"
      }
      ["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:

Topic Closed

This topic has been closed to new replies.

About this Topic