if your host is running an imap server you can use that too, its similar to pop but supports a few more advanced features, and is also a bit more difficult to work with. for example, using imap you can search messages for a given keyword while they are still on the server.
check out php's imap functions (which also can access pop servers) at www.php.net/imap