Public Member Functions | |
| pop3 () | |
| Class Constructor. | |
| _pop3 () | |
| Class Destructor. | |
| pop3_close () | |
| Close connection to pop3 server. | |
| pop3_connect ($host, $user_id="", $pwd="", $timeout=20) | |
| Connect to pop3 server. | |
| pop3_delete_mail ($id) | |
| Sends delete command to server. | |
| pop3_flush_errors () | |
| Will flush the complete pop3 error buffer. | |
| pop3_flush_stream () | |
| Will flush the complete pop3 stream. | |
| pop3_get_errorlist () | |
| Returns error string array. After the call the function delete the error list. | |
| pop3_get_mail ($id) | |
| Return mail string. | |
| pop3_get_mail_key ($id) | |
| Return mail unique key. | |
| pop3_get_mail_keys () | |
| Returns array with unique keys and mail ID`s. | |
| pop3_get_mail_info ($id) | |
| Return mail info string with mail ID and mail size. | |
| pop3_get_mailbox_info () | |
| Returns mailbox info array with mail ID`s and mail size. | |
| pop3_get_mail_size ($id) | |
| Return size of an single mail. | |
| pop3_get_mail_stat () | |
| Returns mailbox statistik. It includes number of mails in and size of all mails in the mailbox. | |
| pop3_get_stream () | |
| Return pop3 stream string array. | |
| pop3_keepalive () | |
| Keeps the connection open. | |
| pop3_get_data ($endsign="LINE") | |
| Return raw data from server and check if it is an error or not. | |
| pop3_send_cmd ($cmd) | |
| Send command to server. | |
| pop3_send_pass () | |
| Sends password to server. | |
| pop3_send_quit () | |
| Sends quit command to server. | |
| pop3_send_user () | |
| Sends user to server. | |
| pop3_verify ($data) | |
| Answer string check. The function search for "+OK" or "-ERR". | |
Public Attributes | |
| $pop3_error_hdl = 0 | |
| $pop3_host | |
| $pop3_password | |
| $pop3_user_id | |
| $pop3_socket_hdl = 0 | |
| $pop3_socket_stream = array() | |
| $pop3_timeout | |
|
|
Class Constructor.
|
|
|
Class Destructor.
|
|
|
Close connection to pop3 server.
|
|
||||||||||||||||||||
|
Connect to pop3 server.
|
|
|
Sends delete command to server.
|
|
|
Will flush the complete pop3 error buffer.
|
|
|
Will flush the complete pop3 stream.
|
|
|
Return raw data from server and check if it is an error or not.
|
|
|
Returns error string array. After the call the function delete the error list.
|
|
|
Return mail string.
|
|
|
Return mail info string with mail ID and mail size.
|
|
|
Return mail unique key.
|
|
|
Returns array with unique keys and mail ID`s.
|
|
|
Return size of an single mail.
|
|
|
Returns mailbox statistik. It includes number of mails in and size of all mails in the mailbox.
|
|
|
Returns mailbox info array with mail ID`s and mail size.
|
|
|
Return pop3 stream string array.
|
|
|
Keeps the connection open.
|
|
|
Send command to server.
|
|
|
Sends password to server.
|
|
|
Sends quit command to server.
|
|
|
Sends user to server.
|
|
|
Answer string check. The function search for "+OK" or "-ERR".
|
|
|
Error message handler |
|
|
Host name or IP |
|
|
Connection password |
|
|
Socket handle |
|
|
Socket stream data array |
|
|
Connection timeout |
|
|
Connection user name |
1.4.3