Quick Search for:  in language:    
code,logs,Hotmail,server,using,standard,http,
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Visual Basic Stats

 Code: 3,014,970. lines
 Jobs: 119. postings

 How to support the site

 
Sponsored by:

 

You are in:

 
Login



Latest Code Ticker for Visual Basic.
Click here to see a screenshot of this code!Xp Frames , Xp List Box And XpTextBox (updated!)
By ali s on 7/2

(Screen Shot)

Click here to see a screenshot of this code!Excel Into a webpage
By Bill Donahue on 7/2

(Screen Shot)

Unroll2 - Update
By Cyber Chris on 7/2


MultilinePWD
By Cyber Chris on 7/2


Click here to see a screenshot of this code!Song/Poem Assistant
By Peter Rowan on 7/2

(Screen Shot)

Click here to see a screenshot of this code!GPA Cal
By KBM-00 on 7/2

(Screen Shot)

Click here to see a screenshot of this code!Connection Via the Telephone line.No internet or cable.Just the telephone line
By Nass ClickMan on 7/2

(Screen Shot)

DBTool
By Make Strömberg on 7/2


Click here to see a screenshot of this code!MSChart Simple Example
By Sebastian Pereira on 7/2

(Screen Shot)

Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 
   

New Hotmail Messages (Checker)! *THE ORIGINAL*

Print
Email
 
winzip icon
Submitted on: 7/19/2000 1:02:57 AM
By: Bill Katz 
Level: Advanced
User Rating: By 22 Users
Compatibility:VB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0, VB Script, ASP (Active Server Pages)

Users have accessed this code 18724 times.
 
(About the author)
 
     This code logs you in to the Hotmail server using standard http commands (the same thing your browser uses). After retrieving your mailbox source from Hotmail, it will tell you how many new messages you have. With this code however, you may do whatever you wish with your account (through programming), once you understand how it works. commented heavily to ensure understanding. if you have any questions or comments, my email address is: nmjblue@hotmail.com... Enjoy!

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzipto decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
3)Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.
 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
7/19/2000 2:14:39 AM:Chris Trahan
This is the best i have seen.. Its 
perfect.. A Hotmail checker.. I mean.. 
I hate loading my browser and all.. Now 
we just have to get it to sit in the 
task tray and play a wav file when u 
get a new message.. try using Winsock 
though... not the other CWS sockets.. 
Laterz
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/19/2000 7:26:50 AM:Andrew Armstrong
Yeah mate, use Winsock ;) This is cool 
though man! Not like that phoney other 
one which actually stole ya p/w's! 
Thanx for this man!!! If you are having 
trouble registering winsock, or dont 
even have the silly thing lol, search 
PSC for "Register winsock.ocx and 
inet.ocx" or "Andrew Armstrong". Its my 
post, I have made a proggie to install 
winsock and the inet controls easy! W/o 
that licensing error :(   -   Once 
again, great!!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/19/2000 10:12:20 PM:devilDemon66
NICE!!!!!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/20/2000 4:52:30 AM:Rik
Any way of getting it to work through a 
proxy server type idea? 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/20/2000 11:20:18 AM:Afshaad Patel
This is nice code. But can you this 
from the code when it says new message 
can you click on a command button and 
open your mail box.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/20/2000 4:53:46 PM:Ace315
Thanx! that was all I needed!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/21/2000 2:14:11 AM:Andrew Ling
Great program. I never knew that you 
could do programs like that in Visual 
Basic.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/21/2000 12:29:29 PM:Laudeci Oliveira
Man... I was seeking for this kind of 
information, and you maked it before 
me...:) but here's the question.. where 
did you find this kind of information?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/21/2000 12:31:17 PM:Laudeci Oliveira
You're the man... i'm trying to find 
information about HTTP protocol about 
months... can you share where do you 
find informations like that?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/21/2000 3:16:05 PM:Polar J.
yeah actually, i was stumped like you 
guys, but theres a way that i easily 
found all these commands out on my 
own. 
and i'm currently expanding this 
program to actually check your 
messages, and alert you when u have 
new 
ones, etc... now im not going to 
write 
any tutorials here or anything, 
but if 
u want me to explain these 
commands to 
you or how i got them, 
i'd be happy to 
help you out. just 
email me, i'll get back to you as soon 
as i can.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/28/2000 8:58:45 AM:Matt
Can you click on a command button and 
open your mail box. If you can't 
write this just admit it, we won't 
laugh at you :)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/5/2000 9:37:04 PM:mostafa
Hi polar j,
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/5/2000 9:40:31 PM:Mostafa Mohamed
i think that microsft changed the way 
of loging in hotmail,because when i 
tried to login only what they do they 
cloed the connection between me and the 
isp (the dial up networking,it is not a 
neutral disconiction or no errors) so 
if it works in your computer then tell 
me because i'm affraid to test it again 
since they can destroy my computer 
(they will think i'm a hacker 
!!!microsoft!!!),thanks for your nice 
code
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/6/2000 7:14:31 AM:Alfred Xu
Nice! Great! That is just I need.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/6/2000 7:16:45 AM:Shaofei
Can you add a EXE in the zip so that I 
can just try it
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/6/2000 10:02:50 PM:Polar J.
Thank you to everyone who tried my 
program...
if anyone can help out 
someone who is having trouble here, 
PLEASE do so...
Because I received a 
great number of emails telling me to 
create a way to read your new messages, 
I have just started expanding the 
program to do so. I expect it to be up 
before too long, so keep checking back. 
Also, if you have any suggestions as 
to 
other features that should be 
added, please let me know. I'm still 
open to 
suggestions...
Thanks,
-Polar J-
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/8/2000 9:18:35 AM:HenYa
wew, according to your screen shot you 
don't have Smooth Fonts turned on... 
turn em on in Control Panel > Display > 
Appearance..
Nice code - i'm going 
adapt your Form Post source to do other 
jobs on my webserver...
hehe 
:P
I'm HenYa
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/9/2000 3:15:20 PM:Digitally_Unknown
This thing is awsome! I do have one 
problem though, one some hotmail 
addresses it takes forever for it to 
read the new messages. If it reads them 
at all. And one others it reads them 
fine and lists if you have new mail or 
not. Do you have that problem or is it 
just me? And how can you or I fix it?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/10/2000 1:24:33 PM:TotoBest
Great! I had already outlook express 
for reading my e-mail from Hotmail, but 
now, i have a quickly mail-check that 
start ms oe when i got new mail! great!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/12/2000 11:08:05 AM:Dan Messenger
It opened fine, I ran it, no errors, I 
entered my user information and clicked 
the button.
Step 1, no errors
Step 2, 
seemed fine
Step 3, Its working 
!
Step 4, I've been looking for a 
program like this
Step 5, Its taking 
its time, a long time, its 
stopped.
Keeps stoping on step 5, 
not freezing or crashing, just 
stopping.
Anybody know why ?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/13/2000 2:14:41 PM:Marc-André
Great! But why not use MSN messenger 
(from microsoft) instead, it check your 
hotmail account and it is an Instant 
Messenger, just like ICQ ! 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/14/2000 8:32:43 PM:Digital Vampire
looks like nice code :)
but it didn't 
work for me ..
marc - you missed the 
point lol ..
and i hate msn messenger 
, it sux.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/15/2000 10:36:19 AM:hmmm
i have the same problem with it 
stopping on step 5.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/15/2000 8:58:49 PM:Dan Messenger
Hmmm  - I have VB5 Prof SP2, what about 
you?
I am working on a version of 
this which uses Winsock. I am having a 
problem with the cookies at the moment 
as Winsock is being stvpid (it wouldn't 
let me spell it with a u) and receiving 
them all as one message !
Will keep 
you posted of my progress.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/17/2000 12:57:55 AM:Shavantha
It's grate thankx
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/17/2000 8:22:07 AM:hmm
i am using vb6.  
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/23/2000 8:17:34 AM:Terminally Insane Sikotic Therapist (TiST)
I see everyone on here asking for the 
code to be better - make it read and 
reply e-mail .. use basic SMTP and do 
it yourself think..use brains..or are 
you people here to leech off other 
codes? Some of you I looked up and 
found nothing, same with me you won't 
find nothing based on the fact that my 
buddy made a personal webserver. if you 
check it out now and match the source 
codes almost 8/10 webservers on this 
website are ripped from his and he 
didn't want to hand out the source. I'm 
just saying this for original authors 
out there..watch your stuff. If it's 
good enough someone can very easily 
take it, remodel it and sell!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/28/2000 10:04:50 PM:Warmaster199
This is cool. Try putting a remember 
passwrod and username checkbox and get 
the button to save the username / 
password in the registry. Then, in 
Form_Load, get it to load the registry 
variables for the checkbox. That way we 
won't have to enter our username and 
password everytime :)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/1/2000 2:03:38 AM:James
I've managed to get the Hotmail checker 
to display your inbox messages as well 
as messages in any other folder you 
have.  Plus, it can read the message 
bodies, handle multiple pages of 
message headers, and delete messages.  
I plan on getting it to send messages 
and move messages to other folders 
next.  The code I downloaded didn't 
work though.  After step five, once you 
come across a </html> tag, it should 
disconnect and then send the next 
command.  That made it work.  Sometimes 
though, MS changes the cookies a bit.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/2/2000 11:26:50 AM:Johnathon
James, could you post up the fixed 
version? Thanks a lot.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
11/23/2000 5:54:18 PM:NateDog
This is sweet man, I think I had the 
same problem as a couple of the 
previous people. I was stepping through 
your program and it just stopped. It 
ran fine when I used the .exe file but 
I couldn't step through it.
btw 
could someone explain to me how winsock 
works??
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/2/2001 10:46:17 PM:Phillip Tricoli
confused... I have a cable modem, I 
have modified none of the source code 
and it just says connecting to hotmail. 
I look at the socket.connected and it 
is false help.. philtric@hotmail.com.
                 Thanks in Advance.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/16/2002 11:55:16 PM:Ravi Kumar
Authorative host not found 
error!!!!!!!!!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/23/2002 5:22:53 PM:Gustavo
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/23/2002 5:23:17 PM:Gustavo
"lc5.law5.hotmail.passport.com" is 
right?
I'm receiving
Authorative 
host not found 
error!!!!!!!!!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/4/2002 3:13:35 PM:Breixo
Me to!!.
I'm receiving Authorative 
host not found error in line 
with:
"lc5.law5.hotmail.passport.com" 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/13/2002 8:20:54 PM:Zebosworld
Guys, before i begin i wanna tell the 
two guys above me that you have to use 
lc3.law13.hotmail.passport.com instead 
of lc5.law5.hotmail.passport.com .  
that will make that part work.  But 
what i don't understand is why the 
maildata variable isn't containing the 
source html.  this is at step 5.  can 
you please help me anyone?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/24/2002 7:27:48 AM:Sudharshan
Thanks for the lovely site that gives 
you how to access the Hotmail account 
through socket programming..This will 
realy help people like me who are 
searching for IT projects..
Bill 
I'm doing this IT degree & I have to 
submit a project proposal for my final 
year.
Well I will be basing my 
project in VB since its the easiest 
tool to use. Therefore I will be most 
grateful if you can give me a helping 
hand in finding a project. 
Also 
when I tried the code regarding the 
Hotmail account it stopped at step 5. 
Can you tell me how I can get it to 
work & also how I can access the email 
data through socket programming cos I'm 
not fermiliar with socket programming.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/23/2002 3:50:57 PM:RICK
Do you have a VB.Net Version?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
11/27/2002 2:33:23 PM:
Ops! i don't have CSWSCK.ocx where can 
i find it?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/10/2003 6:55:50 PM:
It stops at step 5 and doesn't do 
anything
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/29/2003 12:28:26 AM:
i get an error when i click sign-in, it 
opens my view code screen and it seems 
to have a problem with the 
"socket.action = 2" in the 
connecttohotmail section. can any one 
help
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | Visual Basic Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.