This project is read-only.

The Authenticate method of Pop3Client doesn't work

Aug 29, 2012 at 2:56 PM

I am using the following code:

 HigLabo.Net.Pop3.Pop3Client cl = new HigLabo.Net.Pop3.Pop3Client("pop.qq.com");
           
            cl.UserName = "myname";//"your name";
            cl.Password = "password";//"pass";
           cl.Port = 995;
          cl.Ssl = true;
        
            string title = "";
            if (cl.Authenticate() == true) //Response.Time out
            {
                Int32 MailIndex = 1;
                MailMessage mg = cl.GetMessage(MailIndex);
                String mailTo = mg.To;
                String mailCc = mg.Cc;
                title = mg.Subject;
                String bodyText = mg.BodyText;
            }
            Console.WriteLine(title);
            Console.ReadKey();

  the  Authenticate method returns "false " so I   can not receive the email  

 what could be the possible solution to it?

Aug 30, 2012 at 3:06 AM

I could not reproduct your bug.
That is your mail server specific bug or your settings may be wrong.
If you create a mail account and tell me it, I'll investigate your bug on your mail server.

regards.

Sep 2, 2012 at 3:47 AM

thank you for you reply.  the pop3 settings of my mail account was wrong , now it works