We help IT Professionals succeed at work.

Hotmail from Delphi 2007

Paer Toernell
on
Im looking for some Delphi code that let me use (probably) delphis indy popserver to retreave mail from a hotmail account. Great if the same code can work for Yahoo, Gmail and so on. Even greater if its possible to do this without removing the mail.
Comment
Watch Question

Lukasz Zielinskisoftware developer
CERTIFIED EXPERT
Top Expert 2008

Commented:
>>popserver to retreave mail from a hotmail account.

not sure but I think hotmail doesn't use POP it's purely internet mail

ziolko.
ThievingSixDeveloper
CERTIFIED EXPERT
Commented:
I beileve that in order to use POP on hotmail you need to have a paid account. This then enables the user to enable this option. Otherwise it is disabled by default so I don't think you can do it otherwise.

This option is just available for paying users and not available in the Free account!

You used to be able to but I don't think you can do it anymore.  Sorry about the bad news.
Eddie ShipmanAll-around developer
CERTIFIED EXPERT
Commented:
I don't think Hotmail utilizes POP services any more. Hotmail was up to recently a WebDAV service and I wrote
a series of articles explaining how to access Hotmail through Delphi. Not sure if they still work, however, as I
haven't tried that code in over a year. Remember, Hotmail has morphed into the new Windows Live Mail, the
original Hotmail no longer exists.

If you so choose, here is the links to my articles:
Hotmail...Delphi Style!! (Part One): http://www.delphipages.com/news/detaildocs.cfm?ID=137
Hotmail...Delphi Style!! (Part Tow): http://www.delphipages.com/news/detaildocs.cfm?ID=138
Eddie ShipmanAll-around developer
CERTIFIED EXPERT

Commented:
third, you should attribute things when you find them, especially if the person happens to be one of
the recognized experts in this topic.

Author

Commented:
Looks like the best possible solution, i get back as soon as i have time to test it. Thnx.

Author

Commented:
There is a problem with this, i get
"[DCC Error] fHotmailForm.pas(7): F1026 File not found: 'MSXML2_TLB.dcu'"
when i try to run the project.

Author

Commented:
I find the file. When i click "connect"

First chance exception at $7743B09E. Exception class ERegistryException with message 'Failed to get data for 'http''. Process DelphiHotmail.exe (3704)
I have a free and a paid hotmail account. The free hotmail account does not allow POP access anymore and the paid account is disabled by default, so as I said before unless this has been enabled by the account holder it will not work. Unless things have changed in the last month this is the situation right now.

Author

Commented:
Well, it dosent have to be a pop soulution, what EddieShipman have done is the way, i dont want to force anybody to use a paid version. As long as i can transfer Hotmails to Delphi im happy.
Eddie ShipmanAll-around developer
CERTIFIED EXPERT

Commented:
cuily, SunSales should select which solution he used.

If he uses my solution, which uses WebDAV and still works with old HM accounts, then he should select mine.

If he used POP, then he should select third's solution.
Top Expert 2007

Commented:
yeah, but he abandoned the question, so ... I choosed for him :)
Eddie ShipmanAll-around developer
CERTIFIED EXPERT

Commented:
Well, looking further, I do not think Steven-Fernandez contributed to any solution.
Top Expert 2007

Commented:
he said initially:
>> I beileve that in order to use POP on hotmail you need to have a paid account.

then:

>> I have a free and a paid hotmail account. The free hotmail account does not allow POP access anymore and the paid account is disabled by default,

so from what I understand, if you have a paid account and you enable pop, you can use pop. I don't have a paid account to check :) but I think it is a valid answer (if true).
ThievingSixDeveloper
CERTIFIED EXPERT

Commented:
"but I think it is a valid answer (if true)."

Which it is =P
ThievingSixDeveloper
CERTIFIED EXPERT

Commented:
In retrospect I should have meantioned this program:
http://www.softpedia.com/get/Internet/E-mail/Mail-Utilities/Hotmail-Popper.shtml

Which allows access to hotmail in a POP3 fashion.
Forced accept.

Computer101
EE Admin

Explore More ContentExplore courses, solutions, and other research materials related to this topic.