category | Zend |
---|---|
package | Zend_Mail |
subpackage | Protocol |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
__construct(string $host= ''
, integer|null $port= null
, boolean|string $ssl= false
)
string
hostname or IP address of POP3 server, if given connect() is called
integer
null
port of POP3 server, null for default (110 or 995 for ssl)
boolean
string
use ssl? 'SSL', 'TLS' or false
\Zend_Mail_Protocol_Exception |
---|
__destruct()
capa() : array
\Zend_Mail_Protocol_Exception |
---|
array
list of capabilitiesconnect(string $host, integer|null $port= null
, string|boolean $ssl= false
) : string
string
hostname or IP address of POP3 server
integer
null
of POP3 server, default is 110 (995 for ssl)
string
boolean
use 'SSL', 'TLS' or false
\Zend_Mail_Protocol_Exception |
---|
string
welcome messagedelete($msgno) : null
\Zend_Mail_Protocol_Exception |
---|
null
getList(integer|null $msgno = null
) : integer | array
integer
null
number of message, null for all
\Zend_Mail_Protocol_Exception |
---|
integer
array
size of given message or list with array(num => size)login(string $user, string $password, $tryApop = true
) : void
string
username
string
password
\Zend_Mail_Protocol_Exception |
---|
logout() : null
null
noop() : null
\Zend_Mail_Protocol_Exception |
---|
null
readResponse(boolean $multiline = false
) : string
boolean
response has multiple lines and should be read until "
\Zend_Mail_Protocol_Exception |
---|
string
responserequest(string $request, boolean $multiline = false
) : string
see | readResponse() |
---|
string
request
boolean
multiline response?
\Zend_Mail_Protocol_Exception |
---|
string
result from readResponse()retrieve(integer $msgno) : string
integer
message number
\Zend_Mail_Protocol_Exception |
---|
string
messageretrive(integer $msgno) : string
deprecated | since 1.1.0; this method has a typo - please use retrieve() |
---|
integer
message number
\Zend_Mail_Protocol_Exception |
---|
string
messagesendRequest(string $request) : null
string
your request without newline
\Zend_Mail_Protocol_Exception |
---|
null
status(integer $messages, integer $octets) : void
integer
out parameter with count of messages
integer
out parameter with size in octects of messages
\Zend_Mail_Protocol_Exception |
---|
top(integer $msgno, integer $lines= 0
, boolean $fallback= false
) : string
The fallback makes normale RETR call, which retrieves the whole message. Additional lines are not removed.
integer
number of message
integer
number of wanted body lines (empty line is inserted after header lines)
boolean
fallback with full retrieve if top is not supported
\Zend_Mail_Protocol_Exception |
---|
string
message headers with wanted body linesundelete() : null
\Zend_Mail_Protocol_Exception |
---|
null
uniqueid(integer|null $msgno = null
) : string | array
integer
null
number of message, null for all
\Zend_Mail_Protocol_Exception |
---|
string
array
uniqueid of message or list with array(num => uniqueid)$hasTop : null | boolean
null
$_socket : null | resource
TIMEOUT_CONNECTION = 30