Problems logging to AOL and Live Email by using HttpWebRequest

  • Thread starter Thread starter Kenneth Wong
  • Start date Start date
K

Kenneth Wong

Anyone did it before. Please advise.

Yahoo mail, Gmail, Regular Hotmail work...
 
What provision do you have for handling cookies, which are an integral part
of these?
Peter
 
CookieContainer _cookies = new CookieContainer();

HttpWebRequest webRequest = WebRequest.Create("https://
my.screenname.aol.com/_cqr/login/login.psp?mcState=initialized") as
HttpWebRequest;
webRequest.UserAgent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
5.0; .NET CLR 1.0.3705)";
webRequest.CookieContainer = _cookies;

The code that I am using works on Gmail, Yahoo Mail and Hotmail... so
I dun think cookies is the problem....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top