Connect to Microsoft365 Mailbox using Modern Authentication in C# .NET

Modern Authentication is now enabled by default for all new Microsoft 365/Azure tenants because this protocol is more secure than the deprecated Basic Authentication. Modern Authentication is based on Active Directory Authentication Library and OAuth 2.0. It uses time-limited tokens, and applications don’t store user credentials. In addition, it is planned to completely prohibit the use of Basic Authentication for all Microsoft 365 clients. In this article, we will focus on using Modern Authentication to connect via EWS, SMTP, IMAP, POP clients of Aspose.
June 14, 2022 · 5 min · Dmitrysamodurov

Add and Remove Members in MS Exchange Distribution Lists in C#

While working with MS Exchange Server from within .NET applications, you may need to work with distribution lists. In the previous post, you have seen how to create and fetch Exchange distribution lists. In this article, you will learn how to add or remove members in MS Exchange distribution lists programmatically in C# .NET.
April 7, 2022 · 2 min · Usman Aziz

Manage Inbox Rules on Exchange Server in C#

Microsoft Exchange Server allows you to define different rules for the inbox, which are applied to the messages such as moving a message to a folder, deleting a message, etc. While working with the Exchange services from within .NET applications, you may need to manage inbox rules programmatically. In this article, you will learn how to create and update inbox rules on MS Exchange Server in C# .NET.
March 13, 2022 · 3 min · Usman Aziz