Page 1 of 1

SMTP Error: The following recipients failed

Posted: Sat Jan 13, 2018 8:32 am
by eayvl

Hi, I have installed Xampp and Mercury in My machine(localhost) and in my server.

In my machine(localhost), the emails come out correctly, but from the server marks this ERROR, Why?

SMTP Error: The following recipients failed: email@prueba.com: : Sender address rejected: Access denied

someone help me.


Re: SMTP Error: The following recipients failed

Posted: Mon Jan 15, 2018 3:07 pm
by arbei

The message said that the sender is rejected, so the mail is sent and received by the receiver or the mail didn't send out?

have you tried to send with another sender?


Re: SMTP Error: The following recipients failed

Posted: Tue Jan 16, 2018 2:23 am
by eayvl

As I said on my laptop and on the server I have Xampp installed and I use Mercury; it works very well on Laptop, but from the server it sends an error,

I did a test directly from Mercury in ther server and the mail arrives very well.

The Email Settings in PHPMaker v2017.0.7 is:

SMTP Server : localhost
SMTP Server port : 25
SMTP server username :
SMTP server password :
Sender (email address) : ealva@company.com
Recipient (email address) : ealva@company.com
Security :

In Code (Server Events, Client Scripts and Custom Template)

// Email Sending event
function Email_Sending(&$Email, &$Args) {
//var_dump($Email); var_dump($Args); exit();
return TRUE;
}

But it throws this error from the server:

The following From address failed: ealva@company.com : MAIL FROM command failed,Shunned connection - only the QUIT command will be accepted. ,554,SMTP server error: MAIL FROM command failed Detail: Shunned connection - only the QUIT command will be accepted. SMTP code: 554SMTP server error: MAIL FROM command failed Detail: Shunned connection - only the QUIT command will be accepted. SMTP code: 554

I do not know why.


Re: SMTP Error: The following recipients failed

Posted: Fri Jan 19, 2018 4:25 pm
by mobhar

eayvl wrote:
it works very well on Laptop, but from the server it sends an
error

It means, your production server does not support the SMTP for sending an email. Try using "mail" native function instead of "smtp". Usually, almost all web server supports native mail function, but not smtp.

In addition, Google "mail vs smtp".


Re: SMTP Error: The following recipients failed

Posted: Sat Jan 20, 2018 12:19 am
by eayvl

Thansk mobhar, the problem was in Xampp and Mercury.