How to send emails through SMTP with email account with Multi factor authentication (MFA)?

  • Page Owner: Not Set
  • Last Reviewed: 2023-04-21

Recently it came up that we needed to find a way to send emails through an Outlook account with MFA enabled. We were using SMTP to authenticate into the email account then when MFA was enabled the account wouldn't let you authenticate into the account.


Answer

The solution to this is to have the Outlook admin generate an app password. The app password can be used to authenticate into the account without having to do MFA.

It's important to make sure the App password is generated with no expiration date. Otherwise you will experience downtime.