When I try to connect to
pop3.Connect("pop.gmail.com",995);
I got this error,
Limilabs.Client.ServerException
HResult=0x80131500
Message=Tried to read a line. No data received. Please make sure that antivirus and firewall software are disabled or configured correctly.
Source=Mail
StackTrace:
at . ()
at Limilabs.Client.POP3.Pop3Response. (Stream stream)
at Limilabs.Client.POP3.Pop3. (Boolean multiline)
at Limilabs.Client.POP3.Pop3.GetServerGreeting()
at Limilabs.Client.ClientBase.Connect(String host, Int32 port, Boolean useSSL)
at PrimeAPI.Controllers.MailController.RecieveMailPOP3() in S:\Sinju\PrimeApplication\PrimeAPI\PrimeAPI\Controllers\MailController.cs:line 62
at Microsoft.Extensions.Internal.ObjectMethodExecutor.<>cDisplayClass33_0.b0(Object target, Object[] parameters)
at Microsoft.Extensions.Internal.ObjectMethodExecutor.Execute(Object target, Object[] parameters)
at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.VoidResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.d__12.MoveNext()
Inner Exception 1:
Exception: Tried to read a line. No data received.
Please help me