Hi Mr Mudassar,
I downloaded your codes for fetching and reading of emails from POP3 mail server and tried it, however when i run it i got this error:
The handshake failed due to an unexpected packet format.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.IOException: The handshake failed due to an unexpected packet format.
Source Error:
Line 16: {
Line 17: pop3Client = new Pop3Client();
Line 18: pop3Client.Connect(txtMailServer.Text, int.Parse(txtPort.Text), chkSSL.Checked);
Line 19: pop3Client.Authenticate(txtUserName.Text, txtPassword.Text);
Line 20: Session["Pop3Client"] = pop3Client;
I couldn't understand what is this error about, if you don't mind can you explain to me why this error happen.
Thank You Appreciate It Alot
-Nilah