NullReferenceException from Exchange.WebServices.Managed.Net5

Aditi.Rachna 21 Reputation points
2022-04-27T06:16:14.253+00:00

Triggering mail from ASP.net Core MVC application, using Exchange.WebServices.Managed.Net5(https://www.nuget.org/packages/Exchange.WebServices.Managed.Net5/2.2.0).Intermittently getting the System.NullReferenceException: Object reference not set to an instance of an object., Sometimes mail gets send even after the exception. Why this error and how can it be solve?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,201 questions
Exchange Server Development
Exchange Server Development
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Development: The process of researching, productizing, and refining new or existing technologies.
512 questions
{count} votes