WordPress.org

Ready to get started?Download WordPress

Forums

WP Mail SMTP
SMTP server error: 5.7.1 : Recipient address rejected: Access denied (6 posts)

  1. knmcevoy
    Member
    Posted 2 years ago #

    Help! I have installed and activated the plugin. When I send out a test email to myself I receive the following:

    SMTP server error: 5.7.1 : Recipient address rejected: Access denied

    ...and, of course, there's no E-mail in my inbox.

    I am BRAND NEW to WordPress (just joined 2 days ago) so I'm sure that has something to do with it. Can anyone please dumb this down for me all the way so I can understand what I'm doing wrong? Thank you!

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

  2. mannymonet
    Member
    Posted 1 year ago #

    I to am BRAND NEW to WordPress an am getting the same error message when trying to send a test message from the plugin. I was just wondering if you found a solution to the month old post.

    Help me if you can.

  3. srumery
    Member
    Posted 1 year ago #

    knmcevoy and mannymonet, are you using two-step authentication for your email system. Is so, you will need to get an application password otherwise, it won't work.

    Run a test email from the settings page and copy the result output here. I might be able to help out.

  4. tallon
    Member
    Posted 1 year ago #

    Hi srumery - I have the same problem. It's saying 'Recipient address rejected: Access denied'.
    This is what is output from the test:

    Test Message Sent

    The result was:

    bool(true)
    The full debugging output is shown below:

    object(PHPMailer)#363 (58) {
    ["Priority"]=>
    int(3)
    ["CharSet"]=>
    string(5) "UTF-8"
    ["ContentType"]=>
    string(10) "text/plain"
    ["Encoding"]=>
    string(4) "8bit"
    ["ErrorInfo"]=>
    string(165) "SMTP Error: The following recipients failed: david@roosterads.com
    SMTP server error: 5.7.1 : Recipient address rejected: Access denied

    "
    ["From"]=>
    string(27) "jane@celebrity-raw-food.com"
    ["FromName"]=>
    string(10) "Jane Nicol"
    ["Sender"]=>
    string(27) "jane@celebrity-raw-food.com"
    ["Subject"]=>
    string(47) "WP Mail SMTP: Test mail to david@roosterads.com"
    ["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(474) "Date: Sat, 26 Jan 2013 15:24:00 +0000
    Return-Path: jane@celebrity-raw-food.com
    To: david@roosterads.com
    From: Jane Nicol
    Subject: WP Mail SMTP: Test mail to david@roosterads.com
    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(547) "Date: Sat, 26 Jan 2013 15:24:00 +0000
    Return-Path: jane@celebrity-raw-food.com
    To: david@roosterads.com
    From: Jane Nicol
    Subject: WP Mail SMTP: Test mail to david@roosterads.com
    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(9) "localhost"
    ["Port"]=>
    string(2) "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"]=>
    object(SMTP)#362 (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(316) of type (stream)
    ["error:private"]=>
    array(3) {
    ["error"]=>
    string(29) "RCPT not accepted from server"
    ["smtp_code"]=>
    string(3) "554"
    ["smtp_msg"]=>
    string(73) "5.7.1 : Recipient address rejected: Access denied
    "
    }
    ["helo_rply:private"]=>
    string(162) "250-wasat.dreamhost.com
    250-PIPELINING
    250-SIZE 40960000
    250-ETRN
    250-AUTH PLAIN LOGIN
    250-AUTH=PLAIN LOGIN
    250-ENHANCEDSTATUSCODES
    250-8BITMIME
    250 DSN
    "
    }
    ["to:protected"]=>
    array(1) {
    [0]=>
    array(2) {
    [0]=>
    string(20) "david@roosterads.com"
    [1]=>
    string(0) ""
    }
    }
    ["cc:protected"]=>
    array(0) {
    }
    ["bcc:protected"]=>
    array(0) {
    }
    ["ReplyTo:protected"]=>
    array(0) {
    }
    ["all_recipients:protected"]=>
    array(1) {
    ["david@roosterads.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_c5116c98a5312d914ee1dc84aaf2becb"
    [2]=>
    string(35) "b2_c5116c98a5312d914ee1dc84aaf2becb"
    [3]=>
    string(35) "b3_c5116c98a5312d914ee1dc84aaf2becb"
    }
    ["language:protected"]=>
    array(17) {
    ["provide_address"]=>
    string(54) "You must provide at least one recipient email address."
    ["mailer_not_supported"]=>
    string(25) " mailer is not supported."
    ["execute"]=>
    string(19) "Could not execute: "
    ["instantiate"]=>
    string(36) "Could not instantiate mail function."
    ["authenticate"]=>
    string(35) "SMTP Error: Could not authenticate."
    ["from_failed"]=>
    string(35) "The following From address failed: "
    ["recipients_failed"]=>
    string(45) "SMTP Error: The following recipients failed: "
    ["data_not_accepted"]=>
    string(30) "SMTP Error: Data not accepted."
    ["connect_host"]=>
    string(43) "SMTP Error: Could not connect to SMTP host."
    ["file_access"]=>
    string(23) "Could not access file: "
    ["file_open"]=>
    string(33) "File Error: Could not open file: "
    ["encoding"]=>
    string(18) "Unknown encoding: "
    ["signing"]=>
    string(15) "Signing Error: "
    ["smtp_error"]=>
    string(19) "SMTP server error: "
    ["empty_message"]=>
    string(18) "Message body empty"
    ["invalid_address"]=>
    string(15) "Invalid address"
    ["variable_set"]=>
    string(30) "Cannot set or reset variable: "
    }
    ["error_count:protected"]=>
    int(1)
    ["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 wasat.dreamhost.com ESMTP

    SMTP -> FROM SERVER: 250-wasat.dreamhost.com
    250-PIPELINING
    250-SIZE 40960000
    250-ETRN
    250-AUTH PLAIN LOGIN
    250-AUTH=PLAIN LOGIN
    250-ENHANCEDSTATUSCODES
    250-8BITMIME
    250 DSN

    SMTP -> FROM SERVER:250 2.1.0 Ok

    SMTP -> FROM SERVER:554 5.7.1 : Recipient address rejected: Access denied

    SMTP -> ERROR: RCPT not accepted from server: 554 5.7.1 : Recipient address rejected: Access denied

    SMTP Error: The following recipients failed: david@roosterads.com

  5. shelam
    Member
    Posted 1 year ago #

    I'm getting the same error report. Anyone able to assist with a fix?

  6. Sherwin Techico
    Member
    Posted 1 year ago #

    ^ Same thing for me on Dreamhost.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.