Free Support Forum - aspose.com

Can Aspose.Email allow sending of email via Office 365 with modern authentication

Hi, can your library help with sending out of emails via an Office 365 account that has modern authentication switched on? My current solution which uses the standard net libraries can no longer send email via a users mailbox because the client has turned on MFA. MFA appears to be 2FA so there is a need to send an application password rather than the user’s password

@msutherland25,
Thank you for your request. I will answer you later. Thank you for your patience.

@msutherland25,
If you mean OAuth2, please look at the article: Microsoft Graph Utility Features.
Otherwise, please describe more details about the issue.

Thank you. I am referring to using the dot net (winforms) version of Aspose.Email and there appears to be no mention of MS Graph in that? Is all this really necessary to send emails via a mailbox that uses MFA? Seems hugely tedious!

Would it not be easier to use EWS or EAS to get round the MFA? If MS had forced MFA on these protocols then most smartphones would stop working as well?

@msutherland25,
Unfortunately, Aspose.Email does not support MFA. I have logged the issue in our tracking system with ID EMAILNET-40179 to consider implementing such a feature.