Email Checker

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Parody
Forum Contributor
Posts: 252
Joined: Fri May 06, 2005 7:06 pm
Location: Great Britain

Email Checker

Post by Parody »

I haven't been here for a while, but once again I'm stumped and I know someone here will be kind enough to help me out :)

I'm trying to make an email 'checker', its not an integral part of my personal project, but it won't be complete without it. The idea is just to show how many new emails the user has in their inbox and then allow them to navigate to their inbox, preferably without entering their username and password. I would like this to work for all types of email addresses including hotmail, something I know is widely accepted to be damn near impossible to receive email via php with. I know this is possible with pop3, but its with hotmail the problem lies with. Hotmail used to use httpmail as a protocol to allow programs such as outlook to access its services, surely it's possible to use php to communicate using this protocol. I'm not sure windows live mail still uses this protocol though. I use Windows Live Mail, the desktop program to send and receive emails and the server url for the account is:

http://mail.services.live.com/DeltaSync ... /sync.aspx

This just shows that such a task is possible, yet I have no idea how to work out how to check emails using this. Any help is greatly appreciated :D
User avatar
playgames
Forum Newbie
Posts: 22
Joined: Tue Sep 04, 2007 4:28 am

Post by playgames »

feyd | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]


what did [s]u[/s] [size=150][color=green]you[/color][/size] want?

Code: Select all

eregi("^[a-z0-9]+([._\-]*[a-z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$",$email)???
or your pop3 server

If that "PHPMAILER" youshould be take.(ON SF.net)


feyd | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]

[quote="[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1"][b]11.[/b] Please use proper, complete spelling when posting in the forums. AOL Speak, leet speak and other abbreviated wording can confuse those that are trying to help you (or those that you are trying to help). Please keep in mind that there are many people from many countries that use our forums to read, post and learn. They do not always speak English as well as some of us, nor do they know these aberrant abbreviations. Therefore, use as few abbreviations as possible, especially when using such simple words.

Some examples of what not to do are ne1, any1 (anyone); u (you); ur (your or you're); 2 (to too); prolly (probably); afaik (as far as I know); etc.[/quote]
Parody
Forum Contributor
Posts: 252
Joined: Fri May 06, 2005 7:06 pm
Location: Great Britain

Post by Parody »

I looked at the PHPMAILER site, it doesn't seem to support http mail, such as hotmail. Is there any way at all I can do this? I don't want to read the messages, I just want to check how many are there. This should be quite easy.
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Post by aceconcepts »

I asked the same question some time back and here is the responses i got: viewtopic.php?t=73228&highlight=
Parody
Forum Contributor
Posts: 252
Joined: Fri May 06, 2005 7:06 pm
Location: Great Britain

Post by Parody »

My problem lies mostly with hotmail. I have found some examples with pop3, so that isn't really the problem. Thanks anyway though.
Parody
Forum Contributor
Posts: 252
Joined: Fri May 06, 2005 7:06 pm
Location: Great Britain

Post by Parody »

Any ideas anyone? I would really like to be able to include this feature. If it doesn't include hotmail then I might aswell forget about the whole thing :(
Michael A
Forum Newbie
Posts: 17
Joined: Wed Oct 03, 2007 9:25 am

Post by Michael A »

Actually, Hotmail removed support for email clients, like Outlook, a few years back. Only old hotmail addresses can be accessed that way still.

I don't think you can do anything, at all, to get hotmail working anywhere but on their site. They've seen to that, I'm afraid.

Please let us know if you ever solve it. I'm curious.
Parody
Forum Contributor
Posts: 252
Joined: Fri May 06, 2005 7:06 pm
Location: Great Britain

Post by Parody »

I created a brand new hotmail account about 4 months ago and I can use Windows Live Mail Desktop with it. There must be someway of accessing the data
Post Reply