@Infra Combuilder MailBee uses smtp port 465 instead of 587. Just check that one in your C# code.
Socket connection has timed out when C# program connect to office 365
Infra Combuilder
0
Reputation points
I try to connect to office 365 email by using MailBee library with client Id and client secret. One of my email can login. But another email suddenly fail. I face following error.
Socket connection has timed out. InnerException message follows: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
What do I need to configure at azure portal? Could you help me?
Developer technologies C#
11,567 questions