Search code examples
phpapihotmail

PHP API for Hotmail?


Is there a way to retrieve EMAIL (not contacts) using a Hotmail PHP Api? Is there EVEN one?


Solution

  • Good question. Hotmail supports POP3 so have a look into the PECL POP3 library. It's not likely going to be easy but I don't see any reason why you shouldn't be able to get something working.

    UPDATE:

    I've never actually used the PECL POP3 Library before, I just knew it existed. I've had a better look at the files and it's pretty easy to follow. The README is only 37 lines as is very clear about how to install it. It also comes with 2 examples, one shows how to use the library procedurally, the other how to use it as an Object for OOP designed systems.

    You will have to be able to edit your php.ini to add the extension but I doubt you're going to get around that for any solution to this problem.