Outlook SMTP Configuration Issues in n8n Cloud

Hello n8n Community,

I am experiencing issues configuring my Outlook SMTP settings in n8n Cloud, despite following all necessary steps. Here’s what I have done so far:

Steps Taken:

  • Enabled IMAP and POP in my Outlook account.
  • Activated Two-Step Verification and created an App Password for authentication.
  • Configured an SMTP credential in n8n using:

Issue:
Despite these settings, I continuously receive the following error:

Invalid login: 535 5.7.139 Authentication unsuccessful, basic authentication is disabled.  
[FR4P281CA0070.DEUP281.PROD.OUTLOOK.COM 2025-02-17T11:47:55.715Z 08DD4D35366FD225]

Additional Information:

  • n8n Version: The official n8n Cloud version.
  • Database: Using n8n Cloud, so I am not managing a database.
  • EXECUTIONS_PROCESS setting: Not sure how to check this, as I am running n8n in the cloud.
  • Running n8n via: n8n Cloud.
  • Operating System: Managed by n8n Cloud.

Request for Assistance:
Has anyone successfully configured Outlook SMTP with n8n Cloud? Is there an additional step required to enable modern authentication or adjust settings on Outlook/Microsoft 365?

Any guidance would be greatly appreciated! Thank you in advance.

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:

He @Julio_Valderrama

I think Outlook now requires OAuth2 credentials to connect - see POP, IMAP, and SMTP settings for Outlook.com - Microsoft Support.

Here’s the n8n docs on how to setup Microsoft Oauth credentials - Microsoft credentials | n8n Docs.

Once complete, you can then use the Microsoft Graph API to send emails -Outlook mail API overview - Microsoft Graph

Hope this helps!

1 Like