Smtp error rcpt to command failed

PHPmailer appears not to be attempting to authenticate SMTP #880 Comments I am tearing my hair out trying to get SMTP authentication to work. It appears PHPmailer is making no attempt to send the username/password specified. I’ve closely followed the examples, and am using the latest PHPmailer. The SMTP server, authentication username/password, port 465 […]

Содержание

  1. PHPmailer appears not to be attempting to authenticate SMTP #880
  2. Comments
  3. Command RCPT failed
  4. Event ID · 50461
  5. Overview
  6. Cause
  7. Event examples
  8. Solution
  9. Summary
  10. 5 causes for “SMTP error from remote mail server after RCPT TO” error, and the fixes
  11. What is the error “SMTP error from remote mail server after RCPT TO”?
  12. “SMTP error from remote mail server after RCPT TO” error – Causes & Fixes!
  13. 1. Configuration errors
  14. 2. Domain blacklists
  15. 3. RDNS misconfiguration
  16. 4. Recipient errors
  17. 5. Sender errors
  18. Conclusion
  19. PREVENT YOUR SERVER FROM CRASHING!
  20. 6 Comments
  21. command failed: 454 4.7.1 #329
  22. Comments
  23. But i tried this (correct?):
  24. ect ect.

PHPmailer appears not to be attempting to authenticate SMTP #880

I am tearing my hair out trying to get SMTP authentication to work. It appears PHPmailer is making no attempt to send the username/password specified. I’ve closely followed the examples, and am using the latest PHPmailer.

The SMTP server, authentication username/password, port 465 for SSL encryption, are exactly the same as used by my mail server which runs perfectly. I have tried setting $mail->SMTPAutoTLS = false & true, no difference.

I would appreciate any comments that might help me resolve the problem

SETTINGS no TLS:

Host = [host2.axxesslocal.co.za]
SMTPAuth = [1]
SMTPsecure = []
Port = [25]
Username = [neilf@megapulsesa.com]
Password = [xxxxxxx]
Hostname = []
SetFrom = [neilf@megapulsesa.com]
AddReplyTo = [NeilF@megapulsesa.com]
AddAddress = [neilafraser@gmail.com]
SMTPDebug = [2]

CLIENT -> SERVER: EHLO www.megapulsesa.com
SERVER -> CLIENT: 250-host2.axxesslocal.co.za Hello axxess33.dedicated.co.za [154.0.168.117]250-SIZE 52428800250-8BITMIME250-PIPELINING250-AUTH PLAIN LOGIN250-STARTTLS250 HELP
CLIENT -> SERVER: MAIL FROM:neilf@megapulsesa.com
SERVER -> CLIENT: 250 OK
CLIENT -> SERVER: RCPT TO:neilafraser@gmail.com
SERVER -> CLIENT: 550-Please turn on SMTP Authentication in your mail client. 550-axxess33.dedicated.co.za (www.megapulsesa.com) [154.0.168.117]:55882 is not550 permitted to relay through this server without authentication.
SMTP ERROR: RCPT TO command failed: 550-Please turn on SMTP Authentication in your mail client. 550-axxess33.dedicated.co.za (www.megapulsesa.com) [154.0.168.117]:55882 is not550 permitted to relay through this server without authentication.
CLIENT -> SERVER: QUIT
SERVER -> CLIENT: 221 host2.axxesslocal.co.za closing connection
SMTP Error: The following recipients failed: neilafraser@gmail.com: Please turn on SMTP Authentication in your mail client. axxess33.dedicated.co.za (www.megapulsesa.com) [154.0.168.117]:55882 is notpermitted to relay through this server without authentication.

SETTINGS with TLS:

Host = [host2.axxesslocal.co.za]
SMTPAuth = [1]
SMTPsecure = [tls]
Port = [587]
Username = [neilf@megapulsesa.com]
Password = [xxxxxxx]
Hostname = []
SetFrom = [neilf@megapulsesa.com]
AddReplyTo = [NeilF@megapulsesa.com]
AddAddress = [neilafraser@gmail.com]
SMTPDebug = [2]

SERVER -> CLIENT: 220-host2.axxesslocal.co.za ESMTP Exim 4.87 #1 Fri, 11 Nov 2016 09:42:52 +0200 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.
CLIENT -> SERVER: EHLO www.megapulsesa.com
SERVER -> CLIENT: 250-host2.axxesslocal.co.za Hello axxess33.dedicated.co.za [154.0.168.117]250-SIZE 52428800250-8BITMIME250-PIPELINING250-AUTH PLAIN LOGIN250-STARTTLS250 HELP
CLIENT -> SERVER: MAIL FROM:neilf@megapulsesa.com
SERVER -> CLIENT: 250 OK
CLIENT -> SERVER: RCPT TO:neilafraser@gmail.com
SERVER -> CLIENT: 550 SMTP AUTH is required for message submission on port 587
SMTP ERROR: RCPT TO command failed: 550 SMTP AUTH is required for message submission on port 587
CLIENT -> SERVER: QUIT
SERVER -> CLIENT:
SMTP ERROR: QUIT command failed:
SMTP Error: The following recipients failed: neilafraser@gmail.com: SMTP AUTH is required for message submission on port 587

$pop = new POP3() ;
$pop->Authorise ($Host, 110, 30, $EUsername, $EPassword, 1);
// alternatively this does the same as the above, but makes no difference:
// $pop = POP3::popBeforeSmtp($Host, 110, 30, $EUsername, $EPassword, 1);

Array
(
[error] => Connecting to the POP3 server raised a PHP warning:
[errno] => 2
[errstr] => fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known
[errfile] => /home/megapuls/public_html/PHPMailer-master/class.pop3.php
[errline] => 229
)
Array
(
[error] => Failed to connect to server on port 110
[errno] => 0
[errstr] => php_network_getaddresses: getaddrinfo failed: Name or service not known
)

The text was updated successfully, but these errors were encountered:

Источник

Command RCPT failed

This Error Event is part of Send Email Events.

Event ID · 50461

Overview

The error indicates that the SMTP server has not accepted the recipient’s email address.

Cause

The Command RCPT failed error indicates that the SMTP server has not accepted the email recipient’s address. Some possible causes are that:

  • The email address is not in valid format.
  • The SMTP server is limiting the scope of allowed recipients.
  • Provided FROM address is not allowed.
  • Most likely, the user authentication is required.

Event examples

See some examples of the Command RCPT failed Event messages:

  • Couldn’t send message, Server Response: 550 Relaying is prohibited.
  • 550 5.7.1 Unable to relay.
  • 550 Relaying denied.
  • 554 Relay access denied.
  • 554 5.2.252 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message … [Hostname=EC9R981NB1000.USRP198.PROD.OUTLOOK.COM] 250 2.1.0

Solution

If the error returns an error message similar to those above, it means that authentication with the SMTP server is required and thus has to be configured properly. Go to the Email tab of Automation Workshop Options (accessible from the Tools menu) and make sure that a Username, Password and Authentication method are correctly specified.

If unsure about SMTP server parameters or would like to use Gmail as SMTP, read more on SMTP server configuration.

Summary

Common causes of the SMTP error:

  • FROM address not allowed (you must use the same address as for authentication).
  • TO address not permitted.
  • Authentication required to send outside your organization.
  • SSL or TLS encrypted connection required to send emails.

Источник

5 causes for “SMTP error from remote mail server after RCPT TO” error, and the fixes

Email errors can be really bothersome – they can hit you hard and unexpected, when you attempt to send an urgent mail.

As part of our Server Support services for web hosting providers, we resolve email errors faced by website owners.

One commonly encountered email error is “SMTP error from remote mail server after RCPT TO”. It shows up when users try to send mails to other email accounts.

What is the error “SMTP error from remote mail server after RCPT TO”?

This error message is a very confusing one, as it can be triggered due to a number of causes. But usually the bounce message that arrives contains the details about the error.

The RCPT command is used to tell the sender mail server, who the recipient of your message is. The error message denotes that the sending mail server faced an error during that command, while trying to send mails.

To know the exact reason for the error, we examine the entire bounce message that the sender receives. And here are some of the major causes we’ve identified.

“SMTP error from remote mail server after RCPT TO” error – Causes & Fixes!

Mail server configuration issue or blacklisting, anything can cause a mail delivery error. We’ll see how to relate to the cause, from the error message we get.

1. Configuration errors

Cause: The authentication errors mostly occur due to mail client or mail form configuration settings. If you try to send mails without proper authentication of your mail account, the mail server throws this error.

The authentication error also occurs when there is any mail server configuration issue – like domain not present in localdomains file or MX record mismatches.

Fix: The mail client settings should be properly configured with mail account details, SMTP server and port number. For PHP mail forms, using SMTP authentication to send out mails can help resolve this error.

To resolve mail server configuration errors, we examine the mail logs, MX records and related configuration files, and fix the discrepancies that are found in them.

2. Domain blacklists

Cause: RBLs aka blacklists are used by mail servers to prevent inbound spamming. When blacklist providers such as Spamhaus suspect your mail server as a spam origin, they will blacklist your server IP.

Getting blacklisted indicates that your server had a spammer or someone who is sending mass mails. Many times, server owners get to know about it only when users complain about mail errors.

Fix: Once blacklisted, getting de-listed is a time-consuming procedure. Pinpointing the source of spam and fixing it is the most important step. Then you need to request RBL to remove you from the list.

To ensure seamless mail delivery, it is important to avoid getting blacklisted. At Bobcares, we proactively secure the mail server and keep constant vigil on them to avoid all spamming activities that can cause the server to get blacklisted.

3. RDNS misconfiguration

Cause: RDNS pointer records are used to map IP to hostname and it helps to validate a server. Many mail servers reject incoming mails from servers without proper RDNS records.

Fix: Setting RDNS records for the sending mail server helps to avoid such errors. At Bobcares, we configure critical mail records such as RDNS, SPF, DKIM, etc to ensure that mail delivery errors are avoided.

4. Recipient errors

Cause: The mail delivery error ‘SMTP error from remote mail server after RCPT TO:’, can be caused by a range of issues at the recipient mail server.

These include missing or suspended recipient email account, incorrect MX records, custom blacklists or filters configured at the recipient email account, which cause mails to bounce back to sender.

Fix: The MX records of the recipient domain should be tested and confirmed to be working fine. For resolving issues at recipient end, you need to contact the remote mail server with these inputs.

5. Sender errors

Cause: A sender error can be caused due to many factors. The prominent reasons we have seen in our role as Website Support Techs for web hosting companies, include:

a. Duplicate sender account present in the recipient server
b. Misconfigured mail configuration settings
c. Sender email account doesn’t exist or cannot be detected
d. Permission issues caused by server migrations, updates or custom scripts

Fix: To resolve sender errors, we examine the mail server logs, sender email account settings, folder permissions, mail server configuration, etc. and resolve any issues related to that.

At Bobcares, our custom checklists for migrations and updates enable us to avoid any related issues that may pop up. We also audit the mail server settings periodically and reconfigure the ‘Email Routing’ as appropriate.

Conclusion

“SMTP error from remote mail server after RCPT TO” error is a common error that affects email delivery. Here we’ve discussed five major causes our Server Support Engineers have seen and how we fix it.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

I can’t seem to fix this error and it’s really disturbing me

Hello Joseph,
Our experts can fix the error for you. We’ll be happy to talk to you on chat (click on the icon at right-bottom).

Hello
I met the same issue and hope to fix this,
Please contact me and let me know how to fix this issue.
thanks

Hello,
We need to take a closer look at your Mail server settings. If you still have errors and need help, we’ll be happy to talk to you on chat (click on the icon at right-bottom).

Hello
I facing the 421 and 550.1 error and hope to fix this,
Please contact me and let me know how to solve this issue.
thanks

Our Experts can help you with the issue, we’ll be happy to talk to you on chat (click on the icon at right-bottom).

Источник

command failed: 454 4.7.1 #329

I’m using this script on my site hosted on unoeuro.com. They told me to disable SMTPAuth which I did, and it works fine when I’m sending an e-mail to myself (the e-mail belonging to the domain).

When I tried to send a mail to mail-tester.com’s service or any other e-mail not from the domain I get command fail: 454 4.7.1.

I’ve tried to Google it, but didn’t find any solution how to resolve it on PHPMailer, so I hope that someone in here can help me.

Best regards
Jonathan

The text was updated successfully, but these errors were encountered:

4.7.1 is a temporary failure due to spam filtering or other policy — it’s likely that this is an authentication problem as allowing to send from anywhere to anywhere is effectively a spam gateway. Can you show the SMTP transcript (set SMTPDebug = 2 )?

OK, that does look like a normal trying to send without authenticating. Notice that the server capability list does not include AUTH, but does include STARTTLS? I would guess that if you set SMTPSecure = ‘tls’ and Port = 587 , you will find that authentication works. This is because after sending STARTTLS, the client issues EHLO again, and the server typically only allows authentication after an encrypted connection has been established.

My host told me that the port should be 25.

But i tried this (correct?):

$mail->SMTPDebug = 2;
//Ask for HTML-friendly debug output
$mail->Debugoutput = ‘html’;
//Set the hostname of the mail server
$mail->Host = «mail.jaalumni.dk»;
//Set the SMTP port number — likely to be 25, 465 or 587
$mail->SMTPSecure = ‘tls’;
$mail->Port = 587;
//Whether to use SMTP authentication
$mail->SMTPAuth = false;

ect ect.

I get this error:

SMTP ERROR: Failed to connect to server: Connection refused (111)
SMTP connect() failed.
Mailer Error: SMTP connect() failed.

Hm. I’ve done a little experiment and it doesn’t look like they support authentication at all — starting TLS on that server does not show an an AUTH option.

Overall it looks like this is an inbound-only mail server, which is why it works for your own domain but not others. The only other way they can reasonably let you relay through here is if they trust your IP address. I think they must have a different server for authenticated outbound to arbitrary addresses.

Weird — it was them who suggested to use PHPMailer, so I guess there must be a solution somewhere.

I don’t think this is specific to PHPMailer — I expect you would have the same problem with any other sending software. Do you send through this server using other software, such as Outlook or Apple Mail?

Источник

Overview

The error indicates that the SMTP server has not accepted the recipient’s email address.

Cause

The Command RCPT failed error indicates that the SMTP server has not accepted the email recipient’s address. Some possible causes are that:

  • The email address is not in valid format.
  • The SMTP server is limiting the scope of allowed recipients.
  • Provided FROM address is not allowed.
  • Most likely, the user authentication is required.

Event examples

See some examples of the Command RCPT failed Event messages:

  • Couldn’t send message, Server Response: 550 Relaying is prohibited.
  • 550 5.7.1 Unable to relay.
  • 550 Relaying denied.
  • 554 Relay access denied.
  • 554 5.2.252 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message … [Hostname=EC9R981NB1000.USRP198.PROD.OUTLOOK.COM] 250 2.1.0

Solution

If the error returns a message similar to those above, it means that authentication with the SMTP server is required and thus has to be configured properly. Go to the Email tab of Automation Workshop Options (accessible from the Tools menu) and make sure that a Username, Password and Authentication method are correctly specified.

If unsure about SMTP server parameters or would like to use Gmail as SMTP, read more on SMTP server configuration.

Summary

Common causes of the SMTP error:

  • FROM address not allowed (you must use the same address as for authentication).
  • TO address not permitted.
  • Authentication required to send outside your organization.
  • SSL or TLS encrypted connection required to send emails.

More relaying debugging…

  • Test SMTP connection and send test email
  • AW Event 50463 · An unexpected response after end-of-mail indicator
  • AW Event 2501 · Could not send notification email
  • Command Line Email relaying access denied
  • Gmail Workspace SMTP error reference
  • Microsoft Office 365 authentication issues

Automate now!

Need assistance?

If you have any questions, please do not hesitate to contact our support team.

I wrote an app based on PHPMailer that reads a CSV and retrieves the names and email addresses for the recipients (each recipient has a row) and sends emails to them and BCCs the emails to my work address (the same one as the one that sends the emails). It manages to send about 4-5 emails after which it starts returning errors, the most frequent being «SMTP connect() failed».

I use the SMTP server provided by Aruba Italy — smtp.aruba.it, the one set up for our company email . Its limitations were confirmed to me by the representatives of the company and are max 250 emails sent every 20 minutes and no more than 3-4 simultaneous SMTP connections. Every time I used the app, I sent less than 100 emails in one batch and delayed every other email by one second to not have multiple SMTP connections opened at the same time.

I turned on debugging and read the errors returned but I do not really know how to interpret them. I pasted a few below.

Could anyone please help me determine what my problem is and how to repair it?

Than you.

2016-12-21 14:19:24 CLIENT -> SERVER: MAIL FROM: 
2016-12-21 14:19:24 SERVER -> CLIENT: 250 2.1.0 sender ok 
2016-12-21 14:19:24 CLIENT -> SERVER: RCPT TO: 
2016-12-21 14:19:24 SERVER -> CLIENT: 250 2.1.5 recipient ok 
2016-12-21 14:19:24 CLIENT -> SERVER: RCPT TO:
2016-12-21 14:19:24 SERVER -> CLIENT: 452 4.1.1 NeKD1u00T1ustzm01eKRZu policy violation 
2016-12-21 14:19:24 SMTP ERROR: RCPT TO command failed: 452 4.1.1 NeKD1u00T1ustzm01eKRZu policy violation 
2016-12-21 14:19:24 CLIENT -> SERVER: DATA
2016-12-21 14:19:24 SERVER -> CLIENT: 
2016-12-21 14:19:24 SMTP ERROR: DATA command failed: 
2016-12-21 14:19:24 SMTP Error: data not accepted. 
Message could not be sent.
Mailer Error: SMTP Error: data not accepted.SMTP server error: DATA command failed
------------------------------------------------------------------------------

2016-12-21 14:36:30 CLIENT -> SERVER: MAIL FROM: 
2016-12-21 14:36:30 SERVER -> CLIENT: 250 2.1.0 sender ok 
2016-12-21 14:36:30 CLIENT -> SERVER: RCPT TO: 
2016-12-21 14:36:30 SERVER -> CLIENT: 452 4.1.1 Nec11u00u1ustzm01ecWgz policy violation 
2016-12-21 14:36:30 SMTP ERROR: RCPT TO command failed: 452 4.1.1 Nec11u00u1ustzm01ecWgz policy violation 2
016-12-21 14:36:30  CLIENT -> SERVER: RSET 
2016-12-21 14:36:30 SERVER -> CLIENT: 
2016-12-21 14:36:30 SMTP ERROR: RSET command failed: 
2016-12-21 14:36:30 SMTP Error: The following recipients failed: [recipient's email address]: Nec11u00u1ustzm01ecWgz policy violation 
Message could not be sent.
Mailer Error: SMTP Error: The following recipients failed: [recipient's email address]: Nec11u00u1ustzm01ecWgz policy violation SMTP server error: RSET command failed
------------------------------------------------------------------------------

2016-12-21 14:36:31 SMTP NOTICE: EOF caught while checking if connected 
2016-12-21 14:36:31 Connection: closed 
2016-12-21 14:36:31 Connection: opening to ssl://smtps.aruba.it:465, timeout=300, options=array ( ) 
2016-12-21 14:36:31 Connection: opened 
2016-12-21 14:36:31 SERVER -> CLIENT: 421 smtpcmd05.ad.aruba.it bizsmtp NecX1u00y1ustzm01 policy violation 
2016-12-21 14:36:31 CLIENT -> SERVER: EHLO localhost 
2016-12-21 14:36:31 SERVER -> CLIENT: 503 not available 
2016-12-21 14:36:31 SMTP ERROR: EHLO command failed: 503 not available 
2016-12-21 14:36:31 CLIENT -> SERVER: HELO localhost 
2016-12-21 14:36:31 SERVER -> CLIENT: 503 not available 
2016-12-21 14:36:31 SMTP ERROR: HELO command failed: 503 not available 
2016-12-21 14:36:31 SMTP Error: Could not authenticate. 
2016-12-21 14:36:31 CLIENT -> SERVER: QUIT 
2016-12-21 14:36:31 SERVER -> CLIENT: 221 2.0.0 smtpcmd05.ad.aruba.it bizsmtp closing connection 
2016-12-21 14:36:31 Connection: closed 
2016-12-21 14:36:31 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting 
Message could not be sent.
Mailer Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
------------------------------------------------------------------------------

2016-12-21 14:36:32 Connection: opening to ssl://smtps.aruba.it:465, timeout=300, options=array ( ) 
2016-12-21 14:36:33 Connection: opened 
2016-12-21 14:36:33 SERVER -> CLIENT: 421 smtpcmd05.ad.aruba.it bizsmtp NecZ1u00g1ustzm01 policy violation 
2016-12-21 14:36:33 CLIENT -> SERVER: EHLO localhost 
2016-12-21 14:36:33 SERVER -> CLIENT: 503 not available 
2016-12-21 14:36:33 SMTP ERROR: EHLO command failed: 503 not available 
2016-12-21 14:36:33 CLIENT -> SERVER: HELO localhost 
2016-12-21 14:36:33 SERVER -> CLIENT: 503 not available 
2016-12-21 14:36:33 SMTP ERROR: HELO command failed: 503 not available 
2016-12-21 14:36:33 SMTP Error: Could not authenticate. 
2016-12-21 14:36:33 CLIENT -> SERVER: QUIT 
2016-12-21 14:36:33 SERVER -> CLIENT: 221 2.0.0 smtpcmd05.ad.aruba.it bizsmtp closing connection 
2016-12-21 14:36:33 Connection: closed 
2016-12-21 14:36:33 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting 
Message could not be sent.
Mailer Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
------------------------------------------------------------------------------

2016-12-21 14:40:46 CLIENT -> SERVER: MAIL FROM: 
2016-12-21 14:40:46 SERVER -> CLIENT: 
2016-12-21 14:40:46 SMTP ERROR: MAIL FROM command failed: 
2016-12-21 14:40:46 The following From address failed: [sender's email address] : MAIL FROM command failed,,,SMTP server error: MAIL FROM command failed 
Message could not be sent.
Mailer Error: The following From address failed: [sender's email address]: MAIL FROM command failed,,,SMTP server error: MAIL FROM command failedSMTP server error: MAIL FROM command failed

Basically I am trying to save an error log in my database table which recipients failed/reach is over quota/disabled etc. But I am unable to do that. As per your instruction and my knowledge I did it like below-
Step-1: I created a class file named MyPHPMailer.php and saved with your code.

<?php

require 'PHPMailer.php';

use PHPMailerPHPMailerPHPMailer;

class MyPHPMailer extends PHPMailer {
    public $bad_rcpt = array();
    protected function smtpSend($header, $body)
    {
        $this->bad_rcpt = array();

        if (!$this->smtpConnect()) {
            throw new phpmailerException($this->lang('smtp_connect_failed'), self::STOP_CRITICAL);
        }
        $smtp_from = ($this->Sender == '') ? $this->From : $this->Sender;
        if (!$this->smtp->mail($smtp_from)) {
            $this->setError($this->lang('from_failed') . $smtp_from . ' : ' . implode(',', $this->smtp->getError()));
            throw new phpmailerException($this->ErrorInfo, self::STOP_CRITICAL);
        }

        // Attempt to send to all recipients
        foreach ($this->to as $to) {
            if (!$this->smtp->recipient($to[0])) {
                $this->bad_rcpt[] = $to[0];
                $isSent = false;
            } else {
                $isSent = true;
            }
            $this->doCallback($isSent, array($to[0]), array(), array(), $this->Subject, $body, $this->From);
        }
        foreach ($this->cc as $cc) {
            if (!$this->smtp->recipient($cc[0])) {
                $this->bad_rcpt[] = $cc[0];
                $isSent = false;
            } else {
                $isSent = true;
            }
            $this->doCallback($isSent, array(), array($cc[0]), array(), $this->Subject, $body, $this->From);
        }
        foreach ($this->bcc as $bcc) {
            if (!$this->smtp->recipient($bcc[0])) {
                $this->bad_rcpt[] = $bcc[0];
                $isSent = false;
            } else {
                $isSent = true;
            }
            $this->doCallback($isSent, array(), array(), array($bcc[0]), $this->Subject, $body, $this->From);
        }

        // Only send the DATA command if we have viable recipients
        if ((count($this->all_recipients) > count($this->bad_rcpt)) and !$this->smtp->data($header . $body)) {
            throw new phpmailerException($this->lang('data_not_accepted'), self::STOP_CRITICAL);
        }
        if ($this->SMTPKeepAlive == true) {
            $this->smtp->reset();
        } else {
            $this->smtp->quit();
            $this->smtp->close();
        }
        if (count($this->bad_rcpt) > 0) { // Create error message for any bad addresses
            throw new phpmailerException(
                $this->lang('recipients_failed') . implode(', ', $this->bad_rcpt),
                self::STOP_CONTINUE
            );
        }
        return true;
    }
}
?>

Step-2: Next I included class file in sendemail.php like below

<?php
error_reporting(E_ALL);
ini_set('display_errors', true);

require 'PHPMailer/src/Exception.php';
require 'PHPMailer/src/SMTP.php';
require 'PHPMailer/src/MyPHPMailer.php';

use PHPMailerPHPMailerPHPMailer;
use PHPMailerPHPMailerException;

$bccz = array(
    array(
        'a@example.com' => array(
            'email' => 'a@example.com',
            'cFname' => 'firstname',
            'cLname' => 'lastname'
        ),
        'b@example-.com' => array(
            'email' => 'b@example-.com', //Deliberately invalid
            'cFname' => 'firstname',
            'cLname' => 'lastname'
        )
    ),
    array(
        'c@dfgsdfgdsfgsdfgsdfgsdfgs.com' => array(
            'email' => 'c@dfgsdfgdsfgsdfgsdfgsdfgs.com', //Non-existent domain
            'cFname' => 'firstname',
            'cLname' => 'lastname'
        ),
        'd@example.com' => array(
            'email' => 'd@example.com',
            'cFname' => 'firstname',
            'cLname' => 'lastname'
        )
    )
);

$mail = new MyPHPMailer;
$mail->IsSMTP();
$mail->Host = 'localhost';
$mail->Port = 25;
$mail->SMTPAuth = false;
$mail->CharSet = 'UTF-8';
$mail->setFrom('from@example.com', 'FromName');
$mail->addAddress('to@example.com', 'ToName');
$mail->msgHTML('This is the message body');
$mail->Subject = 'Subject';
$i = 0;

foreach ($bccz as $bcc) {
    $i++;
    echo '<h2>GROUP: ' . $i . '</h2>' . "n";
    foreach ($bcc as $key => $value) {
        try {
            $mail->AddBcc($value['email'], trim($value['cFname'] . ' ' . $value['cLname']));
        } catch (phpmailerException $e) {
            echo "Skipping invalid address: {$value['email']}n";
        }
    }
    try {
        $mail->Send();
        echo "message sent hurray!n";
    } catch (phpmailerException $e) {
        echo $e->errorMessage();
    }
    $mail->ClearBCCs();
}

var_dump($mail->bad_rcpt);
?>

I got the result below-

GROUP: 1

Fatal error: Uncaught Error: Class 'phpmailerException' not found in C:xampphtdocssendemailPHPMailersrcMyPHPMailer.php:14 Stack trace: #0 C:xampphtdocssendemailPHPMailersrcPHPMailer.php(1529): MyPHPMailer->smtpSend('Date: Mon, 4 Ma...', 'This is a multi...') #1 C:xampphtdocssendemailPHPMailersrcPHPMailer.php(1365): PHPMailerPHPMailerPHPMailer->postSend() #2 C:xampphtdocssendemailtest.php(62): PHPMailerPHPMailerPHPMailer->send() #3 {main} thrown in C:xampphtdocssendemailPHPMailersrcMyPHPMailer.php on line 14

What should I do now? I will be happy if you correction my mentioned code and clarify me.
Note: I am using latest version of PHPMailer 6.0.7
Thanks again.

Email errors can be really bothersome – they can hit you hard and unexpected, when you attempt to send an urgent mail.

As part of our Server Support services for web hosting providers, we resolve email errors faced by website owners.

One commonly encountered email error is “SMTP error from remote mail server after RCPT TO”. It shows up when users try to send mails to other email accounts.

What is the error “SMTP error from remote mail server after RCPT TO”?

This error message is a very confusing one, as it can be triggered due to a number of causes. But usually the bounce message that arrives contains the details about the error.

The RCPT command is used to tell the sender mail server, who the recipient of your message is. The error message denotes that the sending mail server faced an error during that command, while trying to send mails.

To know the exact reason for the error, we examine the entire bounce message that the sender receives. And here are some of the major causes we’ve identified.

“SMTP error from remote mail server after RCPT TO” error – Causes & Fixes!

Mail server configuration issue or blacklisting, anything can cause a mail delivery error. We’ll see how to relate to the cause, from the error message we get.

1. Configuration errors

SMTP error from remote mail server after RCPT TO::
host domain.com [xx.xx.xx.xx]: 550-Please turn on SMTP Authentication in your mail client.
550-(host.domain.com) [yy.yy.yy.yy]: __ is not permitted to relay through this server without authentication.

Cause: The authentication errors mostly occur due to mail client or mail form configuration settings. If you try to send mails without proper authentication of your mail account, the mail server throws this error.

The authentication error also occurs when there is any mail server configuration issue – like domain not present in localdomains file or MX record mismatches.

Fix: The mail client settings should be properly configured with mail account details, SMTP server and port number. For PHP mail forms, using SMTP authentication to send out mails can help resolve this error.

To resolve mail server configuration errors, we examine the mail logs, MX records and related configuration files, and fix the discrepancies that are found in them.

2. Domain blacklists

SMTP error from remote mail server after RCPT TO::
host domain.com [xx.xx.xx.xx]: 550-"JunkMail rejected - host.domain.com [yy.yy.yy.yy]: 
___ is in an RBL, see http://www.spamhaus.org/query/bl?ip=________"
SMTP error from remote mail server after RCPT TO:: host host.domain.com [xx.xx.xx.xx]: 
554 5.7.1 Service unavailable; Client host [yy.yy.yy.yy] blocked using zen.spamhaus.org; http://www.spamhaus.org

Cause: RBLs aka blacklists are used by mail servers to prevent inbound spamming. When blacklist providers such as Spamhaus suspect your mail server as a spam origin, they will blacklist your server IP.

Getting blacklisted indicates that your server had a spammer or someone who is sending mass mails. Many times, server owners get to know about it only when users complain about mail errors.

Fix: Once blacklisted, getting de-listed is a time-consuming procedure. Pinpointing the source of spam and fixing it is the most important step. Then you need to request RBL to remove you from the list.

To ensure seamless mail delivery, it is important to avoid getting blacklisted. At Bobcares, we proactively secure the mail server and keep constant vigil on them to avoid all spamming activities that can cause the server to get blacklisted.

3. RDNS misconfiguration

SMTP error from remote mail server after RCPT TO::
host mx.domain.com [xx.xx.xx.xx]: 554 5.7.1 :
Client host rejected: envelope policy RBL PTRNUL

Cause: RDNS pointer records are used to map IP to hostname and it helps to validate a server. Many mail servers reject incoming mails from servers without proper RDNS records.

Fix: Setting RDNS records for the sending mail server helps to avoid such errors. At Bobcares, we configure critical mail records such as RDNS, SPF, DKIM, etc to ensure that mail delivery errors are avoided.

4. Recipient errors

SMTP error from remote mail server after RCPT TO: :
552 5.1.1  Mailbox delivery failure policy error
SMTP error from remote mail server after RCPT TO:
550 5.1.1 xxxxxxxx Recipient Suspended (TT999)
SMTP error from remote mail server after RCPT TO::
550 5.1.1  Recipient not found.
SMTP error from remote mail server after RCPT TO::
host mx.domain.com [xx.xx.xx.xx]: 550 Requested action not taken: mailbox unavailable

Cause: The mail delivery error ‘SMTP error from remote mail server after RCPT TO:’, can be caused by a range of issues at the recipient mail server.

These include missing or suspended recipient email account, incorrect MX records, custom blacklists or filters configured at the recipient email account, which cause mails to bounce back to sender.

Fix: The MX records of the recipient domain should be tested and confirmed to be working fine. For resolving issues at recipient end, you need to contact the remote mail server with these inputs.

5. Sender errors

SMTP error from remote mail server after RCPT  TO::
host host.domain.com [xx.xx.xx.xx]: 554 5.1.8  :
Sender address rejected: Domain not found
SMTP error from remote mail server after RCPT TO::
host mx.server.com [xxx.xxx.xxx.xxx]: 550-Verification failed for 
550-No Such User Here : Sender verify failed

Cause: A sender error can be caused due to many factors. The prominent reasons we have seen in our role as Website Support Techs for web hosting companies, include:

a. Duplicate sender account present in the recipient server
b. Misconfigured mail configuration settings
c. Sender email account doesn’t exist or cannot be detected
d. Permission issues caused by server migrations, updates or custom scripts

Fix: To resolve sender errors, we examine the mail server logs, sender email account settings, folder permissions, mail server configuration, etc. and resolve any issues related to that.

At Bobcares, our custom checklists for migrations and updates enable us to avoid any related issues that may pop up. We also audit the mail server settings periodically and reconfigure the ‘Email Routing’ as appropriate.

Conclusion

“SMTP error from remote mail server after RCPT TO” error is a common error that affects email delivery. Here we’ve discussed five major causes our Server Support Engineers have seen and how we fix it.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

SEE SERVER ADMIN PLANS

var google_conversion_label = «owonCMyG5nEQ0aD71QM»;

Ниже перечислены сообщения об ошибках и коды ошибок, которые вы можете встретить при работе с Gmail и Google Workspace. Эти сообщения и коды помогают найти и устранить проблему с электронной почтой.

Чтобы обозначить источник ошибки, Gmail добавляет в конец сообщения один или оба из следующих фрагментов:

  • gsmtp (Google SMTP): добавляется во все сообщения об ошибках;
  • gcdp (Google Custom Domain Policies): добавляется в сообщения об ошибках, связанных с правилами, которые созданы администратором.

Например, сообщение 550 5.7.1 This message violates example.com email policy. – gcdp <sessionid> – gsmtp (Это сообщение нарушает политику example.com в отношении электронной почты. – gcdp <sessionid> – gsmtp) указывает, что ошибка связана с персонализированным правилом, созданным администратором.

Подробнее о сообщениях об ошибках SMTP…

Примечание. Ошибка 2014 связана с расширением браузера Chrome. По очереди отключите расширения Chrome, чтобы определить, какое из них вызывает ошибку. Сообщение об ошибке 2014: В системе произошла ошибка (2014). Повторите попытку.

Сообщения об ошибках протокола SMTP

421, «4.3.0». Временные неполадки в системе. Повторите попытку позже
421, «4.4.5», Server busy, try again later. (Сервер занят. Повторите попытку позже.)
421, «4.7.0», IP not in whitelist for RCPT domain, closing connection. (Соединение прервано, так как IP-адрес отсутствует в белом списке домена RCPT.)
421, «4.7.0», Our system has detected an unusual rate of unsolicited mail originating from your IP address. To protect our users from spam, mail sent from your IP address has been temporarily blocked. For more information, visit Prevent mail to Gmail users from being blocked or sent to spam. (С вашего IP-адреса с необычной частотой поступают незапрашиваемые сообщения. Почта, отправляемая с вашего IP-адреса, временно заблокирована для защиты пользователей от спама. Дополнительная информация приведена в статье Как предотвратить блокировку почты, предназначенной пользователям Gmail, или ее отправку в папку «Спам».)
421, «4.7.0», Temporary System Problem. Try again later. (Временные неполадки в системе. Повторите попытку позже.)
421, «4.7.0», TLS required for RCPT domain, closing connection. (Соединение прервано, так как для домена RCPT требуется протокол TLS.)
421, «4.7.0», Try again later, closing connection. This usually indicates a Denial of Service (DoS) for the SMTP relay at the HELO stage. (Соединение прервано. Повторите попытку позже. Эта ошибка обычно указывает на атаку типа «отказ в обслуживании» (DoS) для ретрансляции SMTP на этапе HELO.)
450, «4.2.1», The user you are trying to contact is receiving mail too quickly. Please resend your message at a later time. If the user is able to receive mail at that time, your message will be delivered. For more information, visit Limits for sending & getting mail. (Пользователь, которому вы пытаетесь отправить письмо, получает почту слишком часто. Отправьте сообщение позже. Если к тому времени пользователь сможет получать почту, ваше письмо будет доставлено. Дополнительная информация приведена в статье Ограничения на отправку и получение писем.)
450, «4.2.1», The user you are trying to contact is receiving mail at a rate that prevents additional messages from being delivered. Please resend your message at a later time. If the user is able to receive mail at that time, your message will be delivered. For more information, visit Limits for sending & getting mail. (Пользователь, которому вы пытаетесь отправить письмо, получает почту со скоростью, которая не позволяет доставлять ему дополнительные сообщения. Отправьте сообщение позже. Если к тому времени пользователь сможет получать почту, ваше письмо будет доставлено. Дополнительная информация приведена в статье Ограничения на отправку и получение писем.)
450, «4.2.1», Peak SMTP relay limit exceeded for customer. This is a temporary error. For more information on SMTP relay limits, please contact your administrator or visit SMTP relay service error messages. (Превышено пиковое ограничение на ретрансляцию для клиента. Это временная ошибка. Чтобы получить подробную информацию об ограничениях, ознакомьтесь с этой статьей или свяжитесь с администратором.)
451, «4.3.0», Mail server temporarily rejected message. (Почтовый сервер временно отклонил сообщение.)
451, «4.3.0», Multiple destination domains per transaction is unsupported. Please try again. (Использование нескольких целевых доменов для одной операции не поддерживается. Повторите попытку.)
451, «4.4.2», Timeout — closing connection. (Время ожидания истекло – соединение прервано.)
451, «4.5.0», SMTP protocol violation, visit RFC 2821. (Нарушение протокола SMTP, см. RFC 2821.)
452, «4.2.2», The email account that you tried to reach is over quota. Please direct the recipient to Clear Google Drive space & increase storage. (В аккаунте получателя закончилось свободное место. Предложите получателю ознакомиться с этой статьей.)

452, «4.5.3», Domain policy size per transaction exceeded, please try this recipient in a separate transaction.
This message means the email policy size (size of policies, number of policies, or both) for the recipient domain has been exceeded. (Превышен максимальный размер правил домена для транзакции. Выполните отдельную транзакцию для этого получателя. Это сообщение указывает на превышение максимального размера и (или) количества правил электронной почты для домена получателя.)

452, «4.5.3», Your message has too many recipients. For more information regarding Google’s sending limits, visit Limits for sending & getting mail. (У вашего сообщения слишком много получателей. Дополнительная информация приведена в статье Ограничения на отправку и получение писем.)
454, «4.5.0», SMTP protocol violation, no commands allowed to pipeline after STARTTLS, visit RFC 3207. (Нарушение протокола SMTP, после STARTTLS для потока запрещены другие команды, см. RFC 3207.)
454, «4.7.0», Cannot authenticate due to temporary system problem. Try again later. (Не удалось выполнить аутентификацию из-за временных неполадок в системе. Повторите попытку позже.)
454, «5.5.1», STARTTLS may not be repeated. (Запрещено повторять команду STARTTLS.)
501, «5.5.2», Cannot Decode response. (Не удалось расшифровать ответ.)
501, «5.5.4», HELO/EHLO argument is invalid. For more information, visit HELO/EHLO email error. (Недопустимый аргумент HELO/EHLO. Дополнительная информация приведена в статье Ошибка HELO/EHLO.)
502, «5.5.1», Too many unrecognized commands, goodbye. (Слишком много нераспознанных команд.)
502, «5.5.1», Unimplemented command. (Незадействованная команда.)
502, «5.5.1», Unrecognized command. (Нераспознанная команда.)
503, «5.5.1», EHLO/HELO first. (Сначала команда EHLO/HELO.)
503, «5.5.1», MAIL first. (Сначала команда MAIL.)
503, «5.5.1», RCPT first. (Сначала команда RCPT.)
503, «5.7.0», No identity changes permitted. (Запрещены изменения идентификационных данных.)
504, «5.7.4», Unrecognized Authentication Type. (Нераспознанный тип аутентификации.)
530, «5.5.1», Authentication Required. For more information, visit Can’t sign in to your Google Account. (Необходима аутентификация. Дополнительная информация приведена в статье Не удается войти в аккаунт Google.)
530, «5.7.0», Must issue a STARTTLS command first. (Сначала необходима команда STARTTLS.)
535, «5.5.4», Optional Argument not permitted for that AUTH mode. (Для этого режима AUTH запрещен необязательный аргумент.)
535, «5.7.1», Application-specific password required. For more information, visit Sign in using App Passwords. (Требуется пароль приложения. Дополнительная информация приведена в статье Как войти в аккаунт с помощью паролей приложений.)
535, «5.7.1», Please log in with your web browser and then try again. For more information, visit Check Gmail through other email platforms. (Войдите через браузер и повторите попытку. Дополнительная информация приведена в статье Как настроить доступ к Gmail в сторонних почтовых клиентах.)
535, «5.7.1», Username and Password not accepted. For more information, visit Can’t sign in to your Google Account. (Имя пользователя и пароль не приняты. Дополнительная информация приведена в статье Не удается войти в аккаунт Google.)
550, «5.1.1», The email account that you tried to reach does not exist. Please try double-checking the recipient’s email address for typos or unnecessary spaces. For more information, visit Fix bounced or rejected emails. (Аккаунт электронной почты получателя не существует. Проверьте ещё раз, правильно ли указан адрес электронной почты и нет ли в нем пробелов. Дополнительная информация приведена в статье Что делать, если письмо отклонено.)
550, «5.2.1», The email account that you tried to reach is disabled. (Аккаунт электронной почты получателя отключен.)
550, «5.2.1», The user you are trying to contact is receiving mail at a rate that prevents additional messages from being delivered. For more information, visit Limits for sending & getting mail. (Пользователь, которому вы пытаетесь отправить письмо, получает почту со скоростью, которая не позволяет доставлять ему дополнительные сообщения. Дополнительная информация приведена в статье Ограничения на отправку и получение писем.)
550, «5.4.5», Daily sending quota exceeded. For more information, visit Email sending limits. (Исчерпан дневной лимит на отправку сообщений. Дополнительная информация приведена в статье Ограничения в Google Workspace на отправку электронных писем из Gmail.)
550, «5.4.5», Daily SMTP relay limit exceeded for user. For more information on SMTP relay sending limits please contact your administrator or visit SMTP relay service error messages. (Превышено суточное ограничение на ретрансляцию для клиента. Чтобы получить подробную информацию об ограничениях, ознакомьтесь с этой статьей или свяжитесь с администратором.)
550, «5.7.0», Mail relay denied. (Почтовый ретранслятор запрещен.)
550, «5.7.0», Mail Sending denied. This error occurs if the sender account is disabled or not registered within your Google Workspace domain. (Отправка почты запрещена. Эта ошибка возникает, если аккаунт отправителя заблокирован или не зарегистрирован в домене Google Workspace.)
550, «5.7.1», Email quota exceeded. (Превышена квота электронной почты.)
550, «5.7.1», Invalid credentials for relay. (Неверные учетные данные ретранслятора.)
550, «5.7.1», Our system has detected an unusual rate of unsolicited mail originating from your IP address. To protect our users from spam, mail sent from your IP address has been blocked. Review Prevent mail to Gmail users from being blocked or sent to spam. (C вашего IP-адреса с необычной частотой поступают незапрашиваемые сообщения. Почта, отправляемая с вашего IP-адреса, заблокирована для защиты пользователей от спама. Подробную информацию читайте в статье Как предотвратить блокировку почты, предназначенной пользователям Gmail, или ее отправку в папку «Спам».)
550, «5.7.1», Our system has detected that this message is likely unsolicited mail. To reduce the amount of spam sent to Gmail, this message has been blocked. For more information, visit Why has Gmail blocked my messages? (Это сообщение было классифицировано системой как вероятный спам и заблокировано в целях уменьшения количества спама, отправляемого в Gmail. Дополнительная информация приведена в статье Почему мои письма в Gmail заблокированы.)
550, «5.7.1», The IP you’re using to send mail is not authorized to send email directly to our servers. Please use the SMTP relay at your service provider instead. For more information, visit ‘The IP you’re using to send email is not authorized…’. (IP-адрес, который используется для отправки почты, не имеет разрешения на отправку сообщений непосредственно на наши серверы. Используйте для отправки ретранслятор SMTP своего поставщика услуг. Дополнительная информация приведена в этой статье.)
550, «5.7.1», The user or domain that you are sending to (or from) has a policy that prohibited the mail that you sent. Please contact your domain administrator for further details. For more information, visit Sorry, a policy is in place that prevents your message from being sent. (Для пользователя или домена, от которого или которому отправляются сообщения, установлено правило, запрещающее отправленную вами почту. Для получения дополнительной информации ознакомьтесь с этой статьей и обратитесь к своему администратору домена.)
550, «5.7.1», Unauthenticated email is not accepted from this domain. (Почта без аутентификации от этого домена не принимается.)
550, «5.7.1», Daily SMTP relay limit exceeded for customer. For more information on SMTP relay sending limits please contact your administrator or visit SMTP relay service error messages. (Превышено суточное ограничение на ретрансляцию для клиента. Чтобы получить подробную информацию об ограничениях, ознакомьтесь со статьей Сообщения об ошибках службы ретрансляции SMTP или свяжитесь с администратором.)
550, «5.7.26», Unauthenticated email from domain-name is not accepted due to domain’s DMARC policy. Please contact the administrator of domain-name domain. If this was a legitimate mail please visit Control unauthenticated mail from your domain to learn about the DMARC initiative. If the messages are valid and aren’t spam, contact the administrator of the receiving mail server to determine why your outgoing messages don’t pass authentication checks. (Электронное письмо от [доменное имя] не прошло аутентификацию и запрещено правилами DMARC домена. Обратитесь к администратору домена. Если письмо запрещено по ошибке, ознакомьтесь со сведениями об инициативе DMARC в статье «Проблемы с проверкой подлинности сообщений из вашего домена» и обратитесь к администратору почтового сервера получателя, чтобы определить, почему ваши исходящие письма не проходят аутентификацию.)

550, «5.7.26», «This message does not have authentication information or fails to pass authentication checks (SPF or DKIM). To best protect our users from spam, the message has been blocked. Please visit Prevent mail to Gmail users from being blocked or sent to spam for more information.» (Для этого письма нет информации о прохождении аутентификации (SPF или DKIM), или оно ее не прошло. Оно заблокировано, чтобы защитить наших пользователей. Более подробная информация приведена в статье «Как предотвратить блокировку почты, предназначенной пользователям Gmail, или ее отправку в папку «Спам».)

550, «5.7.26», «This message fails to pass SPF checks for an SPF record with a hard fail policy (-all). To best protect our users from spam and phishing, the message has been blocked. Please visit Prevent mail to Gmail users from being blocked or sent to spam for more information.» (Это письмо не прошло проверки SPF для записи со строгими правилами (-all). Оно заблокировано, чтобы защитить наших пользователей от спама и фишинга. Более подробная информация приведена в статье «Как предотвратить блокировку почты, предназначенной пользователям Gmail, или ее отправку в папку «Спам».)
552, «5.2.2», The email account that you tried to reach is over quota. (Для аккаунта электронной почты получателя превышена квота.)
552, «5.2.3», Your message exceeded Google’s message size limits. For more information, visit Send attachments with your Gmail message. (Превышен максимально допустимый размер сообщения. Дополнительная информация приведена в статье Прикрепление файлов к письмам в Gmail.)
553, «5.1.2», We weren’t able to find the recipient domain. Please check for any spelling errors, and make sure you didn’t enter any spaces, periods, or other punctuation after the recipient’s email address. (Не удалось найти домен получателя. Проверьте правильность адреса электронной почты получателя и убедитесь, что после него нет пробелов, точек и других знаков пунктуации.)
554, «5.6.0», Mail message is malformed. Not accepted. (Сообщение электронной почты не принято, так как имеет недопустимый формат.)
554, «5.6.0», Message exceeded 50 hops, this may indicate a mail loop. (Сообщение пересылалось более 50 раз, что может указывать на наличие почтового цикла.)
554, «5.7.0», Too Many Unauthenticated commands. (Слишком много команд без аутентификации.)
555, «5.5.2», Syntax error. (Синтаксическая ошибка.)

Эта информация оказалась полезной?

Как можно улучшить эту статью?

/public/img/default_profile_50.png

Статья была полезной?

Если сообщение не было доставлено получателю, то ему будет присвоен один из следующих статусов:

  • Отменено/Запрещено — если отправка сообщения ограничена со стороны внутреннего функционала GetCourse. Например, пользователь забанен, отписался от категории или перестал удовлетворять условию рассылки.
  • Ошибка — если сообщение было отклонено почтовым сервером. В таком случае в аккаунт поступит отчет с текстовым описанием ошибки. Проанализировав ошибку, можно понять причину, по которой сообщение не было доставлено.

В статье разберем основные виды ошибок при отправке email-рассылок и рекомендации по работе с ними.

<h4>Пример возвращенной ошибки. В деталях ошибки видим, что почтовый ящик пользователя был переполнен.</h4>

Пример возвращенной ошибки. В деталях ошибки видим, что почтовый ящик пользователя был переполнен.

Ссылка на это место страницы:
#main

Текстовое описание одной и той же ошибки может отличаться в зависимости от почтового сервиса, который ее возвращает. Например ошибки:

  • Mailbox does not exist. We do not relay
  • No such user!

Означают, что эл. адрес пользователя не существует.

В статье мы перечислили известные описания ошибок и условно поделили их на несколько категорий:

  • Ошибки в названии электронных ящиков
  • Ошибки в названии домена или его настройках
  • Почтовый ящик пользователя переполнен или заблокирован
  • Попадание в спам на почтовом сервисе
  • Грейлистинг (серый список)
  • Ошибки, связанные с неправильной настройкой доменной почты
  • Попадание IP-адреса в черный список

Чтобы быстро найти значение вашей ошибки в статье, воспользуйтесь поиском по странице (ctrl+F). Для этого введите значение ошибки, как показано в слайдере ниже:

Ссылка на это место страницы:
#incorrect_address

Примеры ошибок:

  • Mailbox does not exist. We do not relay
  • No such user!
  • Unknown user
  • Recipient address rejected: User unknown in local recipient table
  • The email account that you tried to reach does not exist
  • sorry, no mailbox here by that name
  • no mailbox by that name is currently available
  • Requested action not taken: mailbox unavailable
  • Message was not accepted — invalid mailbox
  • Bad recipient address syntax
  • Bad address mailbox syntax
  • No correct recipients
  • We do not relay without RFC2554 authentication

Рекомендации:
Попробуйте связаться с получателем альтернативным способом связи, чтобы уточнить корректный электронный адрес. Затем поменяйте email в карточке. Как это сделать, смотрите в слайдере:

Ссылка на это место страницы:
#receive

Ссылка на это место страницы:
#specific

Ссылка на это место страницы:
#no_connection

  • MX lookup failed for […]

Данная ошибка указывает на проблемы с MX-записью домена, на который отправлялось письмо, либо по каким-то причинам не удалось проверить его MX-запись. Возможно, при регистрации пользователь указал некорректный адрес почты. Повторные попытки отправки сообщений при получении данной ошибки не производятся.

Если не удалось связаться с почтовым сервером, то вернутся следующие ошибки:

  • Called MAIL FROM without being connected
  • SMTP connect() failed
  • RCPT TO command failed

Причины и рекомендации:

  • Опечатки в электронных адресах
  • Ограничения со стороны корпоративных доменов
  • Общие рекомендации по базе электронных адресов

Ссылка на это место страницы:
#errors

При регистрации пользователь может указать электронный адрес с опечаткой. Сообщение на такой адрес доставить не получиться. Наиболее часто встречающимися опечатками являются:

  • mail.ri — вместо mail.ru
  • gmail.ru — вместо gmail.com
  • yndex.ru — вместо yandex.ru

Рекомендации:

Периодически проверять базу пользователей на опечатки в электронных адресах и менять им почту.

Обратите внимание: электронная почта пользователя указана корректно, если она подтверждена. То есть чем больше % пользователей в вашей клиентской базе, которые подтвердили свою почту, тем меньше будет ошибок в адресах при отправке рассылок «по адресам, где дано разрешение на рассылки». И соответственно, выше доставляемость сообщений.

Ссылка на это место страницы:
#corp

Корпоративные ящики — это почтовые ящики с доменами, принадлежащими университетам, магазинам, государственным предприятиям и предназначенные только для их сотрудников. Например, @hh.ru.

Корпоративные ящики чаще всего имеют свои почтовые сервера, индивидуальные спам-фильтры или другие настройки, которые могут влиять на доставляемость сообщений.

Рекомендации:

  • Самостоятельно связаться с владельцами корпоративного домена, привести пример ошибки и уточнить, почему ваши сообщения не принимаются.
  • Если пользователей с таким доменом в аккаунте немного, то наиболее оптимальным решением будет узнать у пользователя альтернативную почту на более популярном сервисе (gmail.com, yandex.ru, mail.ru) и сменить ее в карточке пользователя.

Ссылка на это место страницы:
#popular

В качестве электронных почт пользователей рекомендуем использовать наиболее популярные почтовые сервисы, такие как mail.ru, gmail.com или yandex.ru. Это очень распространённые и надёжные почтовые сервисы с высокой доставляемостью сообщений.

Важно: Для снижения рисков попадания рассылок в спам отправляйте рассылки «по адресам, где дано разрешение на рассылки». Такие пользователи предоставили прямое согласие на получение рассылок, а их адреса точно не содержат ошибок. Поэтому важно не только собирать базу качественных электронных адресов, но и подтверждать их с помощью письма DOI.

Ссылка на это место страницы:
#temp

Также не рекомендуем использовать в качестве электронных адресов временные почтовые ящики. Временный ящик — ящик, который не требует регистрации и позволяет принимать электронные письма, которые будут удалены через определенный срок. Например, @yopmail.com или @maildrop.cc.

Как правило, такие ящики обладают рядом ограничений. Например, могут не поддерживать html-версию письма или не восприниматься почтовыми службами как надежные получатели, так как не принадлежат реальным пользователям. Поэтому отправка на них рассылок может привести к снижению репутации отправителя, а, следовательно, снизить доставляемость ваших сообщений.

Важно: вход во временные ящики осуществляется без пароля, поэтому их содержимое может просмотреть любой пользователь. Подобные электронные почты не рекомендуется использовать в качестве почт пользователей и сотрудникам (например, для тестирования).

Рекомендации:

Отписывать от рассылок или удалять из базы пользователей с временными почтами.

Ссылка на это место страницы:
#overflowing_box

Примеры ошибок, возвращающихся при отправке на переполненные ящики:

  • Mailbox size limit exceeded.
  • Mailbox size exceeded
  • User is overquota
  • The email account that you tried to reach is over quota

Примеры ошибок, возвращающихся при отправке на заблокированные ящики:

  • Mailbox […] is locked due to inactivity for more than […] months
  • Аccess to this account (user) […] is disabled
  • Mailbox is disabled

Причины:

Подобные ошибки означают, что в почтовом ящике получателя нет места, чтобы принять ваше сообщение. Чаще всего это происходит потому, что получатель редко пользуется ящиком и ящик переполняется рассылками. Подобные адреса также могут быть преобразованы в спам-ловушки, отправка на которые приводит к значительному ухудшению репутации отправителя.

Ссылка на это место страницы:
#disabled

Рекомендации:

Попробуйте связаться с получателем альтернативным способом связи и сообщить о проблеме. Если связаться не удается, вы можете отписать пользователя от получения рассылок. Рекомендуется периодически отписывать от рассылок пользователей, которые не читают ваших сообщений.

Ссылка на это место страницы:
#spam

Примеры попадания в спам:

  • IP […] Our system has detected an unusual rate of unsolicited mail originating from your IP address. To protect our users from spam, mail sent from your IP address has been temporarily rate limited — такая ошибка возвращается почтовым сервисом Gmail в случае если Google заподозрил отправку слишком большого числа подозрительных писем (спама) с IP адреса отправителя. В этом случае Google включает временное ограничение на количество принимаемых писем.
  • Message rejected under suspicion of SPAM
  • Client host […] blocked using spamsource.mail.yandex.net
  • Blocked by spam statistics
  • 550 spam message discarded/rejected

Причины:

При отправке сообщений из аккаунта вероятнее всего не были соблюдены рекомендации для высокой доставляемости. Например, не производился прогрев отправляющего домена или велись рассылки по базе пользователей, которые не давали своего согласия на их получения.

Ссылка на это место страницы:
#graylisting

Примеры ошибок:

  • Greylisting in action, please come back later
  • Greylisted, try again after some time
  • Greylisted, try again in 180 seconds
  • Sorry, the service is currently unavailable. Please come back later
  • Temporary local problem — please try later
  • Try again later

Грейслистинг (серые списки) — это способ автоматической блокировки спама. Принцип работы данного способа заключается в следующем: если почтовому сервису кажется подозрительным принимаемое им письмо, то он может не принять его и попросить переотправить сообщение позже.

Рекомендации:

На платформе GetCourse подобные запроса распознаются и письмо переотправляется автоматически позже. Спамерское программное обеспечение в таких случаях, обычно, не пытается переотправить письмо, и их сообщения не доходят.

Однако если письмо после 5 попыток переотправки снова вернулось с ошибкой, система фиксирует текст ошибки и больше не делает попыток переотправки. В этом случае письмо можно переотправить через некоторое время вручную.

Ссылка на это место страницы:
#mail_settings

  • non-local sender verification failed — обычно такая ошибка возвращается почтовым сервисом Gmail или Mail.ru. При появлении данной ошибки необходимо проверить корректность SPF, DKIM и MX в DNS-зоне домена, с которого осуществляется отправка рассылок.
  • Can’t verify […] sender. Check your DNS configuration — при появлении данной ошибки необходимо проверить корректность SPF и DKIM в DNS-зоне домена, с которого происходит отправка почты.
  • sender domain SPF exact match mandatory for IP […]ошибка в SPF-записи домена, с которого происходит отправка письма. Необходимо проверить корректность SPF-записи, или что присутствует только одна SPF-запись.
  • This message was not accepted due to domain […] owner DMARC policy (RFC 7489) — сообщение было заблокировано из-за строгой политики DMARC почтового сервиса. Подробнее о настройке DMARC на GetCourse, читайте в отдельной статье.

Ссылка на это место страницы:
#IP_block

  • rejected because IP[…] is in a blacklist-dns at […]
  • Access denied, banned sending IP […]
  • Connection closed. IP […] is listed in Blacklist
  • [E-mail] blacklisted by […]

При получении подобных ошибок обратитесь к нам в техническую поддержку для дополнительной консультации.

Мы разобрали типичные ошибки при отправке email рассылок. Если ошибки возникают при отправке другими транспортами, рекомендации по их решению вы найдете в следующих статьях:

  • Telegram
  • SMS
  • WhatsApp Business
  • ВКонтакте
  • Viber
  • Facebook*

*принадлежит компании Meta, признанной экстремистской организацией и запрещенной в Российской Федерации.

Our Moodle (course management website) has been configured with an email account that can send emails to the students. The created email address is working fine. I mean I can login to the mail server and check the inbox of this user (the moodle). Also, there is a plugin for testing the setting. The log shows that delivery is not allowed and I don’t know which side is causing such a problem, either the mail server admin or some setting errors.

SERVER -> CLIENT: 235 Authentication successful
CLIENT -> SERVER: MAIL FROM:
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250 Sender accepted
                                  "
SMTP -> get_lines(): $data is "250 Sender accepted
                                  "
SERVER -> CLIENT: 250 Sender accepted
CLIENT -> SERVER: RCPT TO:
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "550 Delivery not allowed to 
                                  "
SMTP -> get_lines(): $data is "550 Delivery not allowed to 
                                  "
SERVER -> CLIENT: 550 Delivery not allowed to 
SMTP ERROR: RCPT TO command failed: 550 Delivery not allowed to 
CLIENT -> SERVER: QUIT

Any feedback for that?

asked Mar 9, 2017 at 18:38

mahmood's user avatar

1

Hire good admin and|or programmer, which will be able to see and to implement obvious for any real hostmaster thing — correct and RFC-compliant SMTP-session (consult with RFC 2821 or even with ol’ good RFC 821, Chapter 3, «Example of the SMTP Procedure»). Now it’s terribly bad

Quote from «Example of the SMTP Procedure»

    S: MAIL FROM:<Smith@Alpha.ARPA>
    R: 250 OK

    S: RCPT TO:<Jones@Beta.ARPA>
    R: 250 OK

    S: RCPT TO:<Green@Beta.ARPA>
    R: 550 No such user here

    S: RCPT TO:<Brown@Beta.ARPA>
    R: 250 OK

    S: DATA
    R: 354 Start mail input; end with <CRLF>.<CRLF>
    S: Blah blah blah...
    S: ...etc. etc. etc.
    S: <CRLF>.<CRLF>
    R: 250 OK

In plain English — MAIL FROM and RCPT TO must to have parameter, without at least 1 recipient («forward-path» from RCPT TO) you will not step up to DATA stage

answered Mar 17, 2017 at 11:09

Lazy Badger's user avatar

Lazy BadgerLazy Badger

3,13715 silver badges13 bronze badges

tstas

Posts: 80
Joined: Mon May 16, 2016 10:07 am

SMTP Error: The following recipients failed: t@yandex.ru: Unexpected failure, please try later

EXIM перестал работать! Почта сообщается только между доменами и типа данные от создания БД, правда письма отправляются на маил, яндекс и джимаил, а при попытке послать обратное сообщение, пустота, и в ответ на почтах о не доставки писем тоже тишина!!! Не настраивается метод PHP mail и отправка через SMTP, через SMTP пишет

2016-06-03 13:42:23 Connection: opening to smtp.mailto-mail.ru:587, timeout=300, options=array (
)
2016-06-03 13:42:23 Connection: opened
2016-06-03 13:42:23 SMTP -> get_lines(): $data is «»
2016-06-03 13:42:23 SMTP -> get_lines(): $str is «220 mailto-mail.ru ESMTP Exim 4.84_2 Fri, 03 Jun 2016 16:42:23 +0300
«
2016-06-03 13:42:23 SERVER -> CLIENT: 220 mailto-mail.ru ESMTP Exim 4.84_2 Fri, 03 Jun 2016 16:42:23 +0300
2016-06-03 13:42:23 CLIENT -> SERVER: EHLO trans-logis.ru
2016-06-03 13:42:23 SMTP -> get_lines(): $data is «»
2016-06-03 13:42:23 SMTP -> get_lines(): $str is «250-mailto-mail.ru Hello mailto-mail.ru [78.108.92.188]
«
2016-06-03 13:42:23 SMTP -> get_lines(): $data is «250-mailto-mail.ru Hello mailto-mail.ru [78.108.92.188]
«
2016-06-03 13:42:23 SMTP -> get_lines(): $str is «250-SIZE 52428800
«
2016-06-03 13:42:23 SMTP -> get_lines(): $data is «250-mailto-mail.ru Hello mailto-mail.ru [78.108.92.188]
250-SIZE 52428800
«
2016-06-03 13:42:23 SMTP -> get_lines(): $str is «250-8BITMIME
«
2016-06-03 13:42:23 SMTP -> get_lines(): $data is «250-mailto-mail.ru Hello mailto-mail.ru [78.108.92.188]
250-SIZE 52428800
250-8BITMIME
«
2016-06-03 13:42:23 SMTP -> get_lines(): $str is «250-PIPELINING
«
2016-06-03 13:42:23 SMTP -> get_lines(): $data is «250-mailto-mail.ru Hello mailto-mail.ru [78.108.92.188]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
«
2016-06-03 13:42:23 SMTP -> get_lines(): $str is «250-AUTH PLAIN LOGIN
«
2016-06-03 13:42:23 SMTP -> get_lines(): $data is «250-mailto-mail.ru Hello mailto-mail.ru [78.108.92.188]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
«
2016-06-03 13:42:23 SMTP -> get_lines(): $str is «250-STARTTLS
«
2016-06-03 13:42:23 SMTP -> get_lines(): $data is «250-mailto-mail.ru Hello mailto-mail.ru [78.108.92.188]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
«
2016-06-03 13:42:23 SMTP -> get_lines(): $str is «250 HELP
«
2016-06-03 13:42:23 SERVER -> CLIENT: 250-mailto-mail.ru Hello mailto-mail.ru [78.108.92.188]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
2016-06-03 13:42:23 CLIENT -> SERVER: STARTTLS
2016-06-03 13:42:23 SMTP -> get_lines(): $data is «»
2016-06-03 13:42:23 SMTP -> get_lines(): $str is «220 TLS go ahead
«
2016-06-03 13:42:23 SERVER -> CLIENT: 220 TLS go ahead
2016-06-03 13:42:23 CLIENT -> SERVER: EHLO trans-logis.ru
2016-06-03 13:42:23 SMTP -> get_lines(): $data is «»
2016-06-03 13:42:23 SMTP -> get_lines(): $str is «250-mailto-mail.ru Hello mailto-mail.ru [78.108.92.188]
«
2016-06-03 13:42:23 SMTP -> get_lines(): $data is «250-mailto-mail.ru Hello mailto-mail.ru [78.108.92.188]
«
2016-06-03 13:42:23 SMTP -> get_lines(): $str is «250-SIZE 52428800
«
2016-06-03 13:42:23 SMTP -> get_lines(): $data is «250-mailto-mail.ru Hello mailto-mail.ru [78.108.92.188]
250-SIZE 52428800
«
2016-06-03 13:42:23 SMTP -> get_lines(): $str is «250-8BITMIME
«
2016-06-03 13:42:23 SMTP -> get_lines(): $data is «250-mailto-mail.ru Hello mailto-mail.ru [78.108.92.188]
250-SIZE 52428800
250-8BITMIME
«
2016-06-03 13:42:23 SMTP -> get_lines(): $str is «250-PIPELINING
«
2016-06-03 13:42:23 SMTP -> get_lines(): $data is «250-mailto-mail.ru Hello mailto-mail.ru [78.108.92.188]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
«
2016-06-03 13:42:23 SMTP -> get_lines(): $str is «250-AUTH PLAIN LOGIN
«
2016-06-03 13:42:23 SMTP -> get_lines(): $data is «250-mailto-mail.ru Hello mailto-mail.ru [78.108.92.188]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
«
2016-06-03 13:42:23 SMTP -> get_lines(): $str is «250 HELP
«
2016-06-03 13:42:23 SERVER -> CLIENT: 250-mailto-mail.ru Hello mailto-mail.ru [78.108.92.188]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250 HELP
2016-06-03 13:42:23 Auth method requested: UNKNOWN
2016-06-03 13:42:23 Auth methods available on the server: PLAIN,LOGIN
2016-06-03 13:42:23 Auth method selected: LOGIN
2016-06-03 13:42:23 CLIENT -> SERVER: AUTH LOGIN
2016-06-03 13:42:23 SMTP -> get_lines(): $data is «»
2016-06-03 13:42:23 SMTP -> get_lines(): $str is «334 VXNlcm5hbWU6
«
2016-06-03 13:42:23 SERVER -> CLIENT: 334 VXNlcm5hbWU6
2016-06-03 13:42:23 CLIENT -> SERVER: bWFpbHRvQHRyYW5zLWxvZ2lzLnJ1
2016-06-03 13:42:23 SMTP -> get_lines(): $data is «»
2016-06-03 13:42:23 SMTP -> get_lines(): $str is «334 UGFzc3dvcmQ6
«
2016-06-03 13:42:23 SERVER -> CLIENT: 334 UGFzc3dvcmQ6
2016-06-03 13:42:23 CLIENT -> SERVER: c2VtMTIz
2016-06-03 13:42:23 SMTP -> get_lines(): $data is «»
2016-06-03 13:42:23 SMTP -> get_lines(): $str is «235 Authentication succeeded
«
2016-06-03 13:42:23 SERVER -> CLIENT: 235 Authentication succeeded
2016-06-03 13:42:23 CLIENT -> SERVER: MAIL FROM:<mailto@trans-logis.ru>
2016-06-03 13:42:23 SMTP -> get_lines(): $data is «»
2016-06-03 13:42:23 SMTP -> get_lines(): $str is «250 OK
«
2016-06-03 13:42:23 SERVER -> CLIENT: 250 OK
2016-06-03 13:42:23 CLIENT -> SERVER: RCPT TO:<tstas@yandex.ru>
2016-06-03 13:42:23 SMTP -> get_lines(): $data is «»
2016-06-03 13:42:23 SMTP -> get_lines(): $str is «421 Unexpected failure, please try later
«
2016-06-03 13:42:23 SERVER -> CLIENT: 421 Unexpected failure, please try later
2016-06-03 13:42:23 SMTP ERROR: RCPT TO command failed: 421 Unexpected failure, please try later
2016-06-03 13:42:23 CLIENT -> SERVER: RSET
2016-06-03 13:42:23 SMTP -> get_lines(): $data is «»
2016-06-03 13:42:23 SMTP -> get_lines(): $str is «250 Reset OK
«
2016-06-03 13:42:23 SERVER -> CLIENT: 250 Reset OK
2016-06-03 13:42:23 SMTP Error: The following recipients failed: tstas@yandex.ru: Unexpected failure, please try later
2016-06-03 13:42:23 CLIENT -> SERVER: QUIT
2016-06-03 13:42:23 SMTP -> get_lines(): $data is «»
2016-06-03 13:42:23 SMTP -> get_lines(): $str is «221 mailto-mail.ru closing connection
«
2016-06-03 13:42:23 SERVER -> CLIENT: 221 mailto-mail.ru closing connection
2016-06-03 13:42:23 Connection: closed

Сервер VPS разумеется, установлен wordpress и плагин NEWSLETTERS, через PHP скрипт тоже отправка не идет.
На простом хостинге по такой схеме всё работает в обоих вариантах и через плагин и через скрипт.
ГУРУ помогите!
Всё настроино согласно первого топика.


imperio

VestaCP Team
Posts: 6987
Joined: Sat Dec 01, 2012 12:37 pm
Contact:

Re: SMTP Error: The following recipients failed: t@yandex.ru: Unexpected failure, please try later

Post

by imperio » Fri Jun 03, 2016 7:00 pm

Скиньте лог exim сразу после отправки почты на ваш сервер.


tstas

Posts: 80
Joined: Mon May 16, 2016 10:07 am

Re: SMTP Error: The following recipients failed: t@yandex.ru: Unexpected failure, please try later

Post

by tstas » Fri Jun 03, 2016 7:23 pm

После отправки тестового письма ввожу команду
mcedit /var/log/exim/exim_mainlog
а там пусто, синий экран, у меня centos, может лог запрашиваю не правильно.


imperio

VestaCP Team
Posts: 6987
Joined: Sat Dec 01, 2012 12:37 pm
Contact:

Re: SMTP Error: The following recipients failed: t@yandex.ru: Unexpected failure, please try later

Post

by imperio » Fri Jun 03, 2016 7:25 pm

/var/log/exim/main.log
/var/log/exim/reject.log


tstas

Posts: 80
Joined: Mon May 16, 2016 10:07 am

Re: SMTP Error: The following recipients failed: t@yandex.ru: Unexpected failure, please try later

Post

by tstas » Fri Jun 03, 2016 8:09 pm

Вот в принципи лог с EXSIM

2016-06-03 22:33:43 1b8uql-0002Dy-OD-D Failed to create spool file /var/spool/exim/imput/1b8uql-0002Dy-OD-D: Permission denied
2016 06 03 22:35:02 WARNING: purging the environment.
Suggestet action: use keep_enviroment and add_environment.

А не подскажите, как скопировать выделенный лог и вставить в блокнот, а то набивать как то долго. У меня редактор mcedit может нужно другой.
Сейчас набиру лог с reject.log
Заранее спасибо

Last edited by tstas on Fri Jun 03, 2016 10:28 pm, edited 1 time in total.


tstas

Posts: 80
Joined: Mon May 16, 2016 10:07 am

Re: SMTP Error: The following recipients failed: t@yandex.ru: Unexpected failure, please try later

Post

by tstas » Fri Jun 03, 2016 8:35 pm

Вот лог с reject.log

2016-06-03 22:24:43 H=([200.72.15.78]) [200.72.15.78] F=<fedorova.300@mail.ru> rejected RCPT <info@trans-logis.ru>: Rejected because 200.72.15.78 is in a black list at bl.spamcop.net

И кто такая fedorova.300@mail.ru такие адреса с разными цыфирями и именами на протяжении всех проверок, да и info@trans-logis.ru
не существует, хотя домен мой, там mailto@trans-logis.ru
Проверку забивал на яндекс, а не на маил.
С почтовой программы Roundcube Webmail 1.1.5 почта на яндекс, маил и гмаил уходит,
а на ящик обратно не доходит и нет возвратов, что письмо не дошло.
В плагине пишит

SMTP Error: data not accepted.SMTP server error: DATA END command failed Detail: Unexpected failure, please try later SMTP code: 421
SMTP Ошибка: данные не accepted.SMTP ошибка сервера: команда END DATA не удалось деталь: Неожиданная ошибка, пожалуйста, попробуйте позже SMTP код: 421

Правда в EXIM

acl_check_pcpt
accept hosts = :
Заранее спасибо.



Понравилась статья? Поделить с друзьями:

Читайте также:

  • Smtp error password command failed
  • Smtp error from remote mail server after rcpt to что значит
  • Smtp error from remote mail server after rcpt to no such user
  • Smtp error from remote mail server after rcpt to address rejected
  • Smtp error from remote mail server after rcpt to 550 relay not permitted

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии