magepal / magento2-gmail-smtp-app

Configure Magento 2 to send email using Google App, Gmail, Amazon Simple Email Service (SES), Microsoft Office365 and many other SMTP (Simple Mail Transfer Protocol) servers
https://www.magepal.com
321 stars 147 forks source link

5.7.1 : Sender address rejected: not owned by user #94

Closed ghost closed 6 years ago

ghost commented 6 years ago

Experiencing this issue when using the feature "Email to a friend"; the problem is that the email of the sender is different from the one of my company, and so the message is rejected.

Any additional setting to allow this feature?

srenon commented 6 years ago

What email provider?

What setting do you have here

image

ghost commented 6 years ago

I have: Set Return-Path: Yes

Email provider: I am running my own mail server on a VPS using either docker-mailserver or mail-in-a-box prjects.

srenon commented 6 years ago

@alen12345 ... Please update to version 2.5.0, the test feature has been rewritten, so you could enter the "friend from" and "friend to" address to simulate the email to the friend feature.

I think you may need to disable the "Set From" address (set it to No)

image

ghost commented 6 years ago

Disabled "Set From", and works perfectly in the frontend!

Issue solved, thank you @srenon !