By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,205 Members | 1,482 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,205 IT Pros & Developers. It's quick & easy.

Problems logging to AOL and Live Email by using HttpWebRequest

P: n/a
Anyone did it before. Please advise.

Yahoo mail, Gmail, Regular Hotmail work...

Feb 1 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
What provision do you have for handling cookies, which are an integral part
of these?
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Kenneth Wong" wrote:
Anyone did it before. Please advise.

Yahoo mail, Gmail, Regular Hotmail work...

Feb 1 '07 #2

P: n/a
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....
On Jan 31, 5:13 pm, Peter Bromberg [C# MVP]
<pbromb...@yahoo.yabbadabbadoo.comwrote:
What provision do you have for handling cookies, which are an integral part
of these?
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net

"Kenneth Wong" wrote:
Anyone did it before. Please advise.
Yahoo mail, Gmail, Regular Hotmail work...- Hide quoted text -

- Show quoted text -

Feb 1 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.