Smtp

My site is blocked smtp

arabx10.kesug.com

The following From address failed: Failed to send mail
{[email protected]: MAIL FROM command failed, Envelope FROM
.‘[email protected] email address not allowed
,553, SMTP server error: MAIL FROM command failed Detail: Envelope FROM ‘[email protected]’ email address not allowed.
SMTP code: 553 SMTP server error: MAIL FROM command failed Detail: Envelope FROM ‘[email protected]’ email address not allowed.
SMTP code: 553

i used Elastic Email
my code
try {
// SMTP
$mail->isSMTP();
$mail->Host = ‘smtp.elasticemail.com’;
$mail->SMTPAuth = true;
$mail->Username = ‘[email protected]’;
$mail->Password = ‘xxxx’;
$mail->SMTPSecure = ‘tls’;
$mail->Port = 2525;

Do read

3 Likes

Didn’t solve my problem

This did not look like a valid email

Are you sure you own this email as well?

You are better off getting support from Elastic email

2 Likes

OK, thank you

Take note of this too:

3 Likes

Maybe port 2525 works, I haven’t actually tested. I would still recommend to use port 587 because I am sure that it works, but if it’s not giving you issues, then all is fine.

As for the issue itself, the error is returned by Elastic Email, so I’m guessing that it’s a configuration problem with what they need on their end. My first guess would be to check the allowed sender domains in Elastic Email and make sure that the domain arabx10.kesug.com is setup and verified there as a sender domain.

All transactional email providers I know require you to link and configure your domain name to send email from it. So sending email from [email protected] is definitely not allowed because you don’t represent gmail.com (and neither does Elastic Email, which would cause problems for them too).

5 Likes

I changed the port to 587 and it worked for me. Thanks for the help.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.