Skip to content

Outlook.com IMAP credentials#

Follow these steps to configure the IMAP credentials with an Outlook.com account.

Set up the credentials#

To set up the IMAP credential with Outlook.com account, use these settings:

  1. Enter your Outlook.com email address as the User.
  2. Enter your Outlook.com password as the Password.

    App password

    Outlook.com doesn't require you to use an app password, but if you'd like to for security reasons, refer to Use an app password.

  3. Enter outlook.office365.com as the Host.

  4. For the Port, keep the default port number of 993.
  5. Turn on the SSL/TLS toggle.
  6. Check with your email administrator about whether to Allow Self-Signed Certificates.

Refer to Microsoft's POP, IMAP, and SMTP settings for Outlook.com documentation for more information.

Connection errors#

You may receive a connection error if you configured your Outlook.com account as IMAP in multiple email clients. Microsoft is working on a fix for this. For now, try this workaround:

  1. Go to account.live.com/activity and sign in using the email address and password of the affected account.
  2. Under Recent activity, find the Session Type event that matches the most recent time you received the connection error. Select it to expand the details.
  3. Select This was me to approve the IMAP connection.
  4. Retest your n8n credential.

Refer to What is the Recent activity page? for more information on using this page.

The source for these instructions is Outlook.com IMAP connection errors. Refer to that documentation for more information.

Use an app password#

如果您希望使用应用密码而不是邮箱账户密码:

  1. 登录到我的账户页面。
  2. 如果您在左侧导航中有安全信息选项,请跳转到安全信息应用密码。如果您没有安全信息选项,请继续按照这些说明操作。
  3. 转到其他安全验证页面
  4. 选择应用密码创建
  5. 为您的应用密码输入名称,如 n8n 凭据
  6. 使用将密码复制到剪贴板选项,并在 n8n 中将此密码作为密码输入,而不是您的邮箱账户密码。

有关更多信息,请参阅 Outlook 的管理两步验证的应用密码页面。

安全信息应用密码#

如果您在左侧导航中有安全信息选项:

  1. 选择安全信息。安全信息页面打开。
  2. 选择+ 添加方法
  3. 添加方法页面上,选择应用密码,然后选择添加
  4. 为您的应用密码输入名称,如 n8n 凭据
  5. 复制密码并在 n8n 中将此密码作为密码输入,而不是您的邮箱账户密码。

有关更多信息,请参阅 Outlook 的从安全信息(预览)页面创建应用密码页面。