Create instance with parameters
Zend_Mail_Abstract
__construct
(array $params)
-
array
$params: mail reader specific parameters
Redefined in descendants as:
Destructor calls close() and therefore closes the resource.
void
__destruct
()
Redefined in descendants as:
Close resource for mail lib. If you need to control, when the resource is closed. Otherwise the destructor would call this.
void
close
()
Redefined in descendants as:
-
Zend_Mail_Mbox::close()
: Close resource for mail lib. If you need to control, when the resource is closed. Otherwise the destructor would call this.
-
Zend_Mail_Pop3::close()
: Close resource for mail lib. If you need to control, when the resource is closed. Otherwise the destructor would call this.
Count messages with a flag or all messages in current box/folder Flags might not be supported by all mail libs (exceptions is thrown)
int
countMessages
([int $flags = null])
-
int
$flags: filter by flags
Redefined in descendants as:
Get a full list of features supported by the specific mail lib and the server
array
getCapabilities
()
Get a message with only header and $bodyLines lines of body
-
int
$id: number of message
-
int
$bodyLines: also retrieve this number of body lines
Redefined in descendants as:
Get a message with headers and body
Redefined in descendants as:
Get a list of messages with number and size
int|array
getSize
(int $id)
-
int
$id: number of message
Redefined in descendants as:
Keep the resource alive.
void
noop
()
Redefined in descendants as:
delete a message from current box/folder
void
removeMessage
( $id)
Redefined in descendants as:
Getter for has-properties. The standard has properties are: hasFolder, hasUniqueid, hasDelete, hasCreate, hasTop
The valid values for the has-properties are:
- true if a feature is supported
- false if a feature is not supported
- null is it's not yet known or it can't be know if a feature is supported
bool
__get
(string $var)
-
string
$var: property name
Redefined in descendants as:
-
Zend_Mail_Pop3::__get()
: Special handling for hasTop. The headers of the first message is retrieved if Top wasn't needed/tried yet.