Pop3 API Reference

 Access the mailbox by using pop3 protocol. These functions are used when you write a mailer web application.

connect($resourceName, $usr, $pass, $popServer, $port)

 Connect to the pop3 server. After calling this function, you can use delete(), getMail(), and list() functions.


 Close pop3 Connection.

delete($resourceName, $offset)

 Delete server mail. $offset is the number returned by Pop3.list().

getMail($resourceName, $offset)

 Get mail content at $offset number. Call Pop3.list() to get offset numbers.


 Send the 'LIST' command.Return array variable.

Go to Top