Is your feature request related to a problem? Please describe.
We use Microsoft 365 with MFA enforced on user mailboxes. Currently, the application authenticates to the SMTP server using Basic Authentication, which requires either a user's account password (not possible when MFA is enabled), or an app password (legacy and not supported in our tenant).
Also, Microsoft has officially announced the deprecation of SMTP AUTH with Basic Authentication (https://techcommunity.microsoft.com/blog/exchange/updated-exchange-online-smtp-auth-basic-authentication-deprecation-timeline/4489835)
Describe the solution you'd like
Implement OAuth 2.0 client credentials / authorization code flow support for SMTP authentication.
Is your feature request related to a problem? Please describe.
We use Microsoft 365 with MFA enforced on user mailboxes. Currently, the application authenticates to the SMTP server using Basic Authentication, which requires either a user's account password (not possible when MFA is enabled), or an app password (legacy and not supported in our tenant).
Also, Microsoft has officially announced the deprecation of SMTP AUTH with Basic Authentication (https://techcommunity.microsoft.com/blog/exchange/updated-exchange-online-smtp-auth-basic-authentication-deprecation-timeline/4489835)
Describe the solution you'd like
Implement OAuth 2.0 client credentials / authorization code flow support for SMTP authentication.