[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.


Closed Thread
 
LinkBack Thread Tools
Old 07-28-2003, 01:32 PM   #1 (permalink)
NamePros Member
 
Join Date: Jun 2003
Posts: 105
171.00 NP$ (Donate)

Fallout_Multi. is an unknown quantity at this point


Hotmail new mail alert

i always have trouble checking my email, cause i just plain forget. i want to make a script that detects whether or not you have new mail, and if you do, to change the color of the background on my computer (it is an html file)

i think the easy way to do this would be to find the part of the source code that displays the number of new mail items and get it to see if there is anything besides a 0 there. anyone have any ideas on how to go about this, im not good with php

thx
__________________
http://www.falloutweb.com
Fallout_Multi. is offline  
Old 07-28-2003, 11:27 PM   #2 (permalink)
Senior Member
 
Join Date: May 2003
Posts: 2,211
6,170.25 NP$ (Donate)

adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough

Breast Cancer
you would need connection details to the mail server first
adam_uk is offline  
Old 07-29-2003, 08:44 AM   #3 (permalink)
NamePros Member
 
Join Date: Jun 2003
Posts: 105
171.00 NP$ (Donate)

Fallout_Multi. is an unknown quantity at this point


what type of details? its just a plain reg. hotmail account
__________________
http://www.falloutweb.com
Fallout_Multi. is offline  
Old 07-29-2003, 08:47 AM   #4 (permalink)
Senior Member
 
Join Date: May 2003
Posts: 2,211
6,170.25 NP$ (Donate)

adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough

Breast Cancer
well the mail server connection ip or domiain eg

mail.hotmail.com or it could be mail.hotmail.msn.google.crap.com or it could be 23.152151.21516


then you may need a "admin" username and password to connect to the mail server since hotmail is just web based (doubt it tho)


but then if you didnt manage to pull it off i think hotmail (microsofot) would be on your case since your using hotmail but not the way it was intended
adam_uk is offline  
Old 07-29-2003, 09:02 AM   #5 (permalink)
NamePros Member
 
Join Date: Jun 2003
Posts: 105
171.00 NP$ (Donate)

Fallout_Multi. is an unknown quantity at this point


i was thinking something on the lines of writing the source to a txt file, then reading of a certain line (which has the code for # of new mail items) and if it says anything besides 0, then it is triggered

edit: im not trying to login as an admin, but i might just have to make it login as me tho

think of this as the "youve go mail" thing, just instead of speaking, it changes the bg color on my comp
__________________
http://www.falloutweb.com
Fallout_Multi. is offline  
Old 07-29-2003, 09:50 AM   #6 (permalink)
Senior Member
 
Join Date: May 2003
Posts: 2,211
6,170.25 NP$ (Donate)

adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough

Breast Cancer
even so you cant rip the sorce the way they use it (the server side stuff) doesnt get printed in html pages thus meaning you cant get the connection details onto the server
adam_uk is offline  
Old 07-29-2003, 10:15 AM   #7 (permalink)
NamePros Member
 
Join Date: Jun 2003
Posts: 105
171.00 NP$ (Donate)

Fallout_Multi. is an unknown quantity at this point


me = confused
it seems like to much trouble anyways, thx tho
__________________
http://www.falloutweb.com
Fallout_Multi. is offline  
Old 07-30-2003, 09:44 AM   #8 (permalink)
Senior Member
 
Join Date: Aug 2002
Posts: 1,300
2.85 NP$ (Donate)

deadserious has a spectacular aura aboutdeadserious has a spectacular aura about


Actually I have seen this done without any server side code. It was done using VBScript and some ActiveX Scripting or something like that. It didn't change the background color of a page, but it did show how many new and how many total hotmail emails you had on a web page. You had to be logged into msn in order for it to work though. So I don't know if it's still possible, but it once was, and if you knew VBScript it probably wouldn't be hard to code it to say if new emails then set the bgcolor to your choice.

I can't seem to find the code anywhere though. But why not just use the built in msn alert sound?

Also, you may want to check out http://incredimail.com it's pretty nice for alerting you of new emai.

<html>
<body>
<OBJECT classid=clsid:B69003B3-C55E-4B48-836C-BC5946FC3B28
codeType=application/x-oleobject id=IMessenger width=0 height=0"></OBJECT>
<a href=VBScript:IMessenger.InstantMessage("you@youre mail.com")>you@youremail.com</a>
</body>
</html>

Well there's a start for you, it probably won't help much, but as you can see it is possible to interact with msn/hotmail service without any server side code. That should launch msn to chat with the email address that is listed in the code.
deadserious is offline  
Old 07-30-2003, 02:57 PM   #9 (permalink)
NamePros Member
 
Join Date: Jun 2003
Posts: 105
171.00 NP$ (Donate)

Fallout_Multi. is an unknown quantity at this point


sounds good, i dont know any of the code for that but ill try the link, thx (i was hoping to do this with php)


edit:
what does that code do that u posted?
__________________
http://www.falloutweb.com
Fallout_Multi. is offline  
Old 08-01-2003, 01:14 AM   #10 (permalink)
Senior Member
 
Join Date: Aug 2002
Posts: 1,300
2.85 NP$ (Donate)

deadserious has a spectacular aura aboutdeadserious has a spectacular aura about


All that does is launch msn messenger from clicking a link.
deadserious is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 11:33 AM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85