$host
$host : string
Mail client host
Mail client IMAP class
setHost(string $host) : \Pop\Mail\Client\AbstractClient
Set mail client host
string | $host |
setPort(integer $port) : \Pop\Mail\Client\AbstractClient
Set mail client port
integer | $port |
setService(string $service) : \Pop\Mail\Client\AbstractClient
Set mail client service
string | $service |
setUsername(string $username) : \Pop\Mail\Client\AbstractClient
Set username
string | $username |
setPassword(string $password) : \Pop\Mail\Client\AbstractClient
Set password
string | $password |
setFolder(string $folder) : \Pop\Mail\Client\AbstractClient
Set folder
string | $folder |
connect(array $creds, string $flags = null, integer $options = null, integer $retries = null, array $params = null) : \Pop\Mail\Client\Imap
Connect to an IMAP mailbox
array | $creds | |
string | $flags | |
integer | $options | |
integer | $retries | |
array | $params |
open(string $flags = null, integer $options = null, integer $retries = null, array $params = null) : \Pop\Mail\Client\Imap
Open mailbox connection
string | $flags | |
integer | $options | |
integer | $retries | |
array | $params |
getMessageIdsBy(integer $criteria = SORTDATE, boolean $reverse = true, integer $options = SE_UID, string $search = 'ALL', string $charset = null) : array
Get message IDs from a mailbox by a sort criteria
integer | $criteria | |
boolean | $reverse | |
integer | $options | |
string | $search | |
string | $charset |
getMessageHeadersBy(integer $criteria = SORTDATE, boolean $reverse = true, integer $options = SE_UID, string $search = 'ALL', string $charset = null) : array
Get message headers from a mailbox
integer | $criteria | |
boolean | $reverse | |
integer | $options | |
string | $search | |
string | $charset |
copyMessage(mixed $ids, string|array $to, integer $options = CP_UID) : \Pop\Mail\Client\Imap
Copy messages to another mailbox
mixed | $ids | |
string|array | $to | |
integer | $options |
moveMessage(mixed $ids, string|array $to, integer $options = CP_UID) : \Pop\Mail\Client\Imap
Move messages to another mailbox
mixed | $ids | |
string|array | $to | |
integer | $options |
markAsRead(mixed $ids, integer $options = ST_UID) : \Pop\Mail\Client\Imap
Mark a message or messages as read
mixed | $ids | |
integer | $options |
markAsUnread(mixed $ids, integer $options = ST_UID) : \Pop\Mail\Client\Imap
Mark a message or messages as unread
mixed | $ids | |
integer | $options |
setMessageFlags(mixed $ids, string $flags, integer $options = ST_UID) : \Pop\Mail\Client\Imap
Mark a message or messages as read
mixed | $ids | |
string | $flags | |
integer | $options |
clearMessageFlags(mixed $ids, string $flags, integer $options = ST_UID) : \Pop\Mail\Client\Imap
Mark a message or messages as unread
mixed | $ids | |
string | $flags | |
integer | $options |
deleteMessage(integer $id, integer $options = FT_UID) : \Pop\Mail\Client\Imap
Delete message
integer | $id | |
integer | $options |
createMailbox(string $new) : \Pop\Mail\Client\Imap
Create mailbox
string | $new |
renameMailbox(string $new, string $old = null) : \Pop\Mail\Client\Imap
Rename mailbox
string | $new | |
string | $old |
deleteMailbox(string $mailbox = null) : \Pop\Mail\Client\Imap
Delete mailbox
string | $mailbox |