Jump to content

[SOLVED] PrestaShop mail issues


Recommended Posts

Good evening everybody

 

How can I solve this PrestaShop error? It doesn't send emails

 

Error: Please check your configuration

Expected response code 250 but got code "550", with message "550 5.1.0 o6SFulCdOD5sdo6SFuqmVv - Mittente non consentito / Sender not allowed ( mail from ) "

 

Thanks in advance

Edited by Marcofavaretto
Highlighted error (see edit history)
Link to comment
Share on other sites

3 hours ago, Prestashop Addict said:

What is your mail configuration in PS?

If I understood assignment correctly, you mean this: 

-set my own parameters

email domain name - mydomain.com

smtp server - smtps.myserver.it

smtp username - [email protected] (but always mine)

smtp password - blank

encryption - ssl

port - 465

With obviously all parameters configured correctly, not like this... 

Link to comment
Share on other sites

Posted (edited)
4 hours ago, Prestashop Addict said:

Ok so if your address mail used for smtp is [email protected] but the sender mail is by example [email protected] your SMTP server doesn't allow this. You must use your sender address or an other smtp server.

So, just to be sure, you're telling me that following parameters: 

 

-email domain name

-smtp username

 

Must correspond on domain side as well? 

So... if email domain name is mydomain.com and smtp username is [email protected]... this is a no go for the system? 

 

If I configure it like: 

-email domain name mydomain.com

-smtp username [email protected]

 

Situation becomes a "go"?

Edited by Marcofavaretto (see edit history)
Link to comment
Share on other sites

2 hours ago, Marcofavaretto said:

So, just to be sure, you're telling me that following parameters: 

 

-email domain name

-smtp username

 

Must correspond on domain side as well? 

So... if email domain name is mydomain.com and smtp username is [email protected]... this is a no go for the system? 

 

If I configure it like: 

-email domain name mydomain.com

-smtp username [email protected]

 

Situation becomes a "go"?

Yes, exactly. Your SMTP settings must match the sender email. If your SMTP username is [email protected], then the Sender (From) email configured in PrestaShop must be the same or another address accepted by that SMTP server. Otherwise, the SMTP server will reject the email with a “sender not allowed” error.

SMTP servers typically enforce that the From address matches the authenticated account (or falls under the same domain or alias).

If you’re using SMTP username = [email protected], but the Sender configured in PrestaShop is [email protected], this mismatch may trigger security restrictions and the “550 … Sender not allowed” error.

To fix this:

Update the From address in PrestaShop’s mail settings to [email protected], or

Use an SMTP account that corresponds exactly to the desired sender email

  • Thanks 1
Link to comment
Share on other sites

20 minutes ago, Prestashop Addict said:

Don't forget to change your title post by adding [SOLVED] and add a Thanks or Like to the good answer, this will help community.

Once I'll have it tested out, if it works, then I'll add "solved", don't worry

The "thanks" is there

Link to comment
Share on other sites

Posted (edited)
On 8/19/2025 at 10:52 PM, Mehdi Bourechka said:

Yes, exactly. Your SMTP settings must match the sender email. If your SMTP username is [email protected], then the Sender (From) email configured in PrestaShop must be the same or another address accepted by that SMTP server. Otherwise, the SMTP server will reject the email with a “sender not allowed” error.

SMTP servers typically enforce that the From address matches the authenticated account (or falls under the same domain or alias).

If you’re using SMTP username = [email protected], but the Sender configured in PrestaShop is [email protected], this mismatch may trigger security restrictions and the “550 … Sender not allowed” error.

To fix this:

Update the From address in PrestaShop’s mail settings to [email protected], or

Use an SMTP account that corresponds exactly to the desired sender email

UPDATE... 

Tried and did not work... error is: 

Error: Please check your configuration

Expected response code 250 but got code "550", with message "550 5.1.0 p67DuN4geD5sdp67Du8wjC - Mittente non consentito / Sender not allowed ( mail from ) "

 

Even with email domain name mydomain.com, smtp username [email protected] and smtp password mypassword

Edited by Marcofavaretto (see edit history)
Link to comment
Share on other sites

The 

il y a 9 minutes, Marcofavaretto a dit :

Error: Please check your configuration

Expected response code 250 but got code "550", with message "550 5.1.0 p67DuN4geD5sdp67Du8wjC - Mittente non consentito / Sender not allowed ( mail from ) "

Even with email domain name mydomain.com, smtp username [email protected] and smtp password mypassword

The sender (ie in Shop parameters / Contact must be the same) sample with smtp user [email protected]

image.thumb.png.b33d3487c09257765440c7fe4b7f4a7b.png

  • Like 1
Link to comment
Share on other sites

16 hours ago, Prestashop Addict said:

The 

The sender (ie in Shop parameters / Contact must be the same) sample with smtp user [email protected]

image.thumb.png.b33d3487c09257765440c7fe4b7f4a7b.png

Issue partially solved

Now the system sends email when following things occur: 

-Customer registration

-Customer order confirmation

-Change of order status

-Customer inserts a message directed to us

 

But it does not send the email when we respond to the customer... even if PrestaShop says "succesfully added"

 

Any idea why? Thanks!

Link to comment
Share on other sites

  • Marcofavaretto changed the title to [SOLVED] PrestaShop mail issues

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...