473,698 Members | 2,471 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problems logging to AOL and Live Email by using HttpWebRequest

Anyone did it before. Please advise.

Yahoo mail, Gmail, Regular Hotmail work...

Feb 1 '07 #1
2 1650
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
CookieContainer _cookies = new CookieContainer ();

HttpWebRequest webRequest = WebRequest.Crea te("https://
my.screenname.a ol.com/_cqr/login/login.psp?mcSta te=initialized" ) as
HttpWebRequest;
webRequest.User Agent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
5.0; .NET CLR 1.0.3705)";
webRequest.Cook ieContainer = _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...@yaho o.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1571
by: Frantisek Fuka | last post by:
I am using the standard "logging" module included with Python and it seems it doesn't correctly identify the filename (and thus module name) from where the logging method was called. In fact, no matter from which module I call the logging method, the resulting log says that the filename of the caller is: \tmp\python.2664\usr\lib\python2.3\logging\__init__.py (this seems to me like a reference to the logging module itself combined with...
2
17411
by: jfixsen | last post by:
Hello! Oracle 9.2.0.4 SunOS pchi-db01 5.8 Generic_108528-19 sun4u sparc SUNW,Ultra-EnterpriseSystem = SunOS Node = pchi-db01 Release = 5.8 KernelID = Generic_108528-19 Machine = sun4u BusType = <unknown>
10
3300
by: Thomas Heller | last post by:
I'm about to add some logging calls to a library I have. How can I prevent that the script that uses the library prints 'No handlers could be found for logger "comtypes.client"' when the script runs? I would like to setup the logging so that there is no logging when nothing is configured, and no warning messages are printed. Thomas
2
10074
by: Peter Sands | last post by:
Hi, I am testing out some restores to a stand-by server, by roll-forwading the logs. I have this setup. There is no user-exit, but logretain is on, for archive logging. I have 2 DB's on different servers ( a & b), but named the same. I have done a 'restore into' to create the db on server b, then taken a on-line dump of that DB, then done a restore, to bring it into a roll-forward pendind mode.
8
2030
by: Peter Afonin | last post by:
Hello, I've created the domain registration system in ASP.NET. I'm using HttpWebRequest to post the data to the registrar's server. So in the Post string I'm passing the data like name, address, phone number etc. The only two fields that are causing problems are the phone and fax fields. My only guess here is that's because they start with the "+" sign. So the string looks like this:
3
1953
by: Dales | last post by:
I'm trying to screen scrape for some data, but the response that comes back is the "Browser Detect" page. Is there any way to "impersonate" a browser (IE6.0 for example)?
6
1967
by: Oliver | last post by:
I have a very wired problem requesting one specific url from within my application. I have struggeled with this for 5 hours now, and searched google withour any luck, so i hope that someone are able to help me. Here is the code that i am using: Dim url As String = "MyIP" Dim httpRequest As HttpWebRequest = CType(WebRequest.Create(url),
3
2080
by: beaker | last post by:
Hello, I'm trying to write an app which will periodically log in to a game website so I can check for changes to some of my player info. The code I've come up with so far is below, and, as you might have guessed, doesn't quite work - what I get back is the raw HTML of the login page, rather than the page I should get after succesfully logging in. Couple of questions really, am I going in the right direction, and what do I need to do...
4
1145
by: Alfa & Omega | last post by:
I should access page which requires authorization... Now, I'm using .net c#... and would like to know how to do that logging on that kind of page? Thanks all and sorry for my English! ;) BR Igor
0
8683
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9031
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8901
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8871
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6528
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5862
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4622
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.