Not sending email error 550 5.7.1 [M12]

Hi,

I’m trying to send emails via the “send email” node and getting this error:

Mail command failed: 550 5.7.1 [M12] User [[email protected]] not authorized to send on behalf of (242a5f61-d54b-11ee-8f27-b520e3c7e1da)

Not sure what it means, why it happens or how to fix?

I tried deleting the credentails and adding them again without luck. I also tried sending a plain text email without luck.

Anyone knows whats going on and how to fix?

Thank you in advance😊

Skjermbilde 2024-02-27 kl. 09.27.08

Information on your n8n setup

  • n8n version:: 1.27.2
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Operating system: I don’t know

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @pkovereng,

That error is coming back from your mail server and it is saying that your user does not have permission to send on behalf of another email address.

You would normally see this if your credential was set using one account and the from address in the node is something else and your mail server has not been configured to allow the authenticating account to send as the from address provided.

To work around this you would need to either configure your mail server to allow this or change the From address you are using.

2 Likes

Okay thank you @Jon! I’ll look into what is going on😊

1 Like