From: win on
I tried

using (TcpClient client = new TcpClient("pop.gmail.it" , 110 ))
using (NetworkStream n = client.GetStream())
{
ReadLine(n);
SendCommand(n, "USER user");
SendCommand(n, "PASS pw");

but it tells me Login Failed

Can you help?

Thanks.
From: Patrice on
Assuming user and pw are placeholders, what if you test using telnet ? Do
you read the response after the first command ? Is your account POP enabled
and are the parameters correct (you should have those on your account) ? At
least in some countries it seems Ssl is required...

You could try for example :
http://www.dotnetspider.com/resources/19151-ASP-net-Read-Email.aspx

--
Patrice

"win" <wintelreport(a)gmail.com> a �crit dans le message de groupe de
discussion :
45c75438-29e4-4325-a196-c18d9a675964(a)z35g2000yqd.googlegroups.com...
> I tried
>
> using (TcpClient client = new TcpClient("pop.gmail.it" , 110 ))
> using (NetworkStream n = client.GetStream())
> {
> ReadLine(n);
> SendCommand(n, "USER user");
> SendCommand(n, "PASS pw");
>
> but it tells me Login Failed
>
> Can you help?
>
> Thanks.
>