I'm trying to use this Net Standard package https://github.com/sherlock1982/ews-managed-api to connect to Exchange in a Console App with .Net Core.
The Autodiscovery apparently doesn't find the server and I can't get an Exchange Response after Send() email.
Same code works flawlessly in ASP.Net Core Web Api.
I guess it's some package reference stuff but I can't figure it out.
I've figured out.
The .Net Standard version of EWS API is totally async, which means I must handle it properly.
As I'm not concerned about parallelism, I've used Wait method to sync wait for it.
https://learn.microsoft.com/pt-br/dotnet/api/system.threading.tasks.task.wait?view=netcore-2.1