Retrieving e-mail messages using PHP from Gmail, Hotmail and Yahoo via POP3
Note: This article was originally published at Planet PHP
on 12 May 2011.
Retrieving e-mail messages using PHP from Gmail, Hotmail and Yahoo via POP3
By Manuel Lemos
Nowadays, most Web mail sites provide POP3 support, so you can retrieve your mailbox messages using PHP or any other language.However, each system uses different ports and encryption configuration that you need to know in order to access them.
This article provides information on the details of accessing the messages on some of the most popular Web mail systems via POP 3.
It also provides a solution to a common problem, which is how to retrieve only the newly received messages when you never delete messages from the mailbox.


