An exception occurred when reading mails from C# code by using "synapseMailContentReader" library. Attached is the screenshot of the exception. I have 2 mail ids, for 2nd one we are getting result but exception occurs for the 1st one Both the mail ids are on the same server. Please provide a solution.
Code -
List<Mails> obj = MailReader.ReadMails(emailServer.server, emailServer.port, emailServer.isSSL, emailServer.username, emailServer.password, emailServer.lastMailDate);
Exception -
The stream used to retrieve responses from was closed.
Code -
List<Mails> obj = MailReader.ReadMails(emailServer.server, emailServer.port, emailServer.isSSL, emailServer.username, emailServer.password, emailServer.lastMailDate);
Exception -
The stream used to retrieve responses from was closed.
Attachments
-
86.8 KB Views: 3