Pop3Client pop3Client;
pop3Client = new Pop3Client();
pop3Client.Connect("pop.abc.com", 995, true);
pop3Client.Authenticate(ReportFraudUser, ReportFraudPass, AuthenticationMethod.Auto);
int count = pop3Client.GetMessageCount();
log.Info(" email Count " + count);
int counter = 0;
Message message = pop3Client.GetMessage(i);
getting error from message line
I had tried to check pop3client connection is activate or disconnected
New contributor
Rutu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.