Class: Net_IMAPProtocol
Source Location: /Net_IMAP-1.1.0beta2/IMAPProtocol.php
Provides an implementation of the IMAP protocol using PEAR's Net_Socket:: class.
Author(s):
|
|
|
Child classes:
|
Inherited Variables
|
Inherited Methods
|
Class Details
Class Variables
Method Detail
Net_IMAPProtocol (Constructor) [line 149]
Net_IMAPProtocol Net_IMAPProtocol(
)
|
|
Constructor Instantiates a new Net_IMAP object.
cmdAppend [line 1101]
mixed cmdAppend(
string
$mailbox, string
$msg, [string
$flags_list = ''], [string
$time = ''])
|
|
Send the APPEND Command
Parameters:
cmdAuthenticate [line 498]
array cmdAuthenticate(
string
$uid, string
$pwd, [string
$userMethod = null])
|
|
Attempt to authenticate to the iMAP server.
Parameters:
cmdCapability [line 947]
Send the CAPABILITY Command
cmdCheck [line 768]
cmdClose [line 1170]
cmdConnect [line 180]
mixed cmdConnect(
[string
$host = 'localhost'], [int
$port = 143])
|
|
Attempt to connect to the IMAP server.
Parameters:
cmdCopy [line 1314]
mixed cmdCopy(
string
$message_set, string
$mailbox)
|
|
Send the COPY command.
Parameters:
cmdCreate [line 834]
array cmdCreate(
string
$mailbox, [array
$options = null])
|
|
Send the CREATE Mailbox Command
Parameters:
cmdDelete [line 878]
array cmdDelete(
string
$mailbox)
|
|
Send the DELETE Mailbox Command
Parameters:
cmdDeleteACL [line 1722]
mixed cmdDeleteACL(
string
$mailbox_name, string
$user)
|
|
Send the DELETEACL command.
Parameters:
cmdDeleteAnnotation [line 1891]
mixed cmdDeleteAnnotation(
string
$mailboxName, string
$entry, string
$values)
|
|
Send the DELETEANNOTATION command.
Parameters:
cmdExamine [line 805]
array cmdExamine(
string
$mailbox)
|
|
Send the EXAMINE Mailbox Command
Parameters:
cmdExpunge [line 1185]
Send the EXPUNGE command.
cmdFetch [line 932]
mixed cmdFetch(
string
$msgset, string
$fetchparam)
|
|
Send the FETCH Command
Parameters:
cmdGetACL [line 1749]
mixed cmdGetACL(
string
$mailbox_name)
|
|
Send the GETACL command.
Parameters:
cmdGetAnnotation [line 1933]
mixed cmdGetAnnotation(
string
$mailboxName, string
$entries, string
$values)
|
|
Send the GETANNOTATION command.
Parameters:
cmdGetQuota [line 1501]
mixed cmdGetQuota(
string
$mailbox_name)
|
|
Send the GETQUOTA command.
Parameters:
cmdGetQuotaRoot [line 1531]
mixed cmdGetQuotaRoot(
string
$mailbox_name)
|
|
Send the GETQUOTAROOT command.
Parameters:
cmdList [line 1057]
mixed cmdList(
string
$mailbox_base, string
$mailbox)
|
|
Send the LIST Command
Parameters:
cmdListRights [line 1779]
mixed cmdListRights(
string
$mailbox_name, string
$user)
|
|
Send the LISTRIGHTS command.
Parameters:
cmdLogin [line 479]
array cmdLogin(
string
$uid, string
$pwd)
|
|
Attempt to login to the iMAP server.
Parameters:
cmdLogout [line 727]
Attempt to disconnect from the iMAP server.
cmdLsub [line 1078]
mixed cmdLsub(
string
$mailbox_base, string
$mailbox)
|
|
Send the LSUB Command
Parameters:
cmdMyRights [line 1809]
mixed cmdMyRights(
string
$mailbox_name)
|
|
Send the MYRIGHTS command.
Parameters:
cmdNamespace [line 979]
Send the CAPABILITY Command
cmdNoop [line 754]
cmdRename [line 856]
array cmdRename(
string
$mailbox, string
$new_mailbox, [array
$options = null])
|
|
Send the RENAME Mailbox Command
Parameters:
cmdSearch [line 1215]
mixed cmdSearch(
string
$search_cmd)
|
|
Send the SEARCH command.
Parameters:
cmdSelect [line 784]
array cmdSelect(
string
$mailbox)
|
|
Send the Select Mailbox Command
Parameters:
cmdSetACL [line 1688]
mixed cmdSetACL(
string
$mailbox_name, string
$user, string
$acl)
|
|
Send the SETACL command.
Parameters:
cmdSetAnnotation [line 1849]
mixed cmdSetAnnotation(
string
$mailboxName, string
$entry, string
$values)
|
|
Send the SETANNOTATION command.
Parameters:
cmdSetQuota [line 1565]
mixed cmdSetQuota(
string
$mailbox_name, [string
$storageQuota = null], [string
$messagesQuota = null])
|
|
Send the SETQUOTA command.
Parameters:
cmdSetQuotaRoot [line 1628]
mixed cmdSetQuotaRoot(
string
$mailbox_name, [string
$storageQuota = null], [string
$messagesQuota = null])
|
|
Send the SETQUOTAROOT command.
Parameters:
cmdSort [line 1240]
mixed cmdSort(
string
$sort_cmd)
|
|
Send the SORT command.
Parameters:
cmdStartTLS [line 3685]
Return true if the TLS negotiation was successful
cmdStatus [line 1008]
array cmdStatus(
string
$mailbox, mixed
$request)
|
|
Send the STATUS Mailbox Command
Parameters:
cmdStore [line 1277]
mixed cmdStore(
string
$message_set, string
$dataitem, string
$value)
|
|
Send the STORE command.
Parameters:
cmdSubscribe [line 895]
array cmdSubscribe(
string
$mailbox)
|
|
Send the SUSCRIBE Mailbox Command
Parameters:
cmdUidCopy [line 1355]
mixed cmdUidCopy(
string
$message_set, string
$mailbox)
|
|
The UID COPY command
Parameters:
cmdUidFetch [line 1336]
mixed cmdUidFetch(
string
$msgset, string
$fetchparam)
|
|
The UID FETH command
Parameters:
cmdUidSearch [line 1427]
mixed cmdUidSearch(
string
$search_cmd)
|
|
Send the SEARCH command.
Parameters:
cmdUidSort [line 1449]
mixed cmdUidSort(
string
$sort_cmd)
|
|
Send the UID SORT command.
Parameters:
cmdUidStore [line 1387]
mixed cmdUidStore(
string
$message_set, string
$dataitem, string
$value)
|
|
Send the UID STORE command.
Parameters:
cmdUnsubscribe [line 913]
mixed cmdUnsubscribe(
string
$mailbox)
|
|
Send the UNSUBSCRIBE Mailbox Command
Parameters:
cmdX [line 1471]
mixed cmdX(
string
$atom, string
$parameters)
|
|
Send the X command.
Parameters:
getCurrentMailbox [line 241]
string getCurrentMailbox(
)
|
|
get current mailbox name
getDebugDialog [line 270]
getLastCmdId [line 226]
getServerAuthMethods [line 1998]
true getServerAuthMethods(
)
|
|
tell if the server has capability $capability
getUnparsedResponse [line 413]
boolean getUnparsedResponse(
)
|
|
get the "returning of the unparsed response" feature status
hasAclSupport [line 2054]
tell if the server has Quota support
hasAnnotateMoreSupport [line 2068]
true hasAnnotateMoreSupport(
)
|
|
tell if the server has support for the ANNOTATEMORE extension
hasCapability [line 2018]
true hasCapability(
string
$capability)
|
|
tell if the server has capability $capability
Parameters:
hasQuotaSupport [line 2040]
tell if the server has Quota support
setDebug [line 257]
nothing setDebug(
[boolean
$debug = true])
|
|
Sets the debuging information on or off
Parameters:
setPrintErrors [line 287]
nothing setPrintErrors(
[boolean
$printErrors = true])
|
|
Sets printed output of errors on or of
Parameters:
setStreamContextOptions [line 430]
nothing setStreamContextOptions(
array
$options)
|
|
set the options for a SSL/TLS connection (see documentation for stream_context_create)
Parameters:
setTimeout [line 446]
nothing setTimeout(
int
$timeout)
|
|
set the the timeout for the connection to the IMAP server.
Parameters:
setUnparsedResponse [line 462]
nothing setUnparsedResponse(
boolean
$status)
|
|
set the "returning of the unparsed response" feature on or off
Parameters:
utf7Decode [line 3604]
string utf7Decode(
string
$str)
|
|
Decode string from UTF7
Parameters:
utf7Encode [line 3520]
string utf7Encode(
string
$str)
|
|
Encode string to UTF7
Parameters:
utf_7_decode [line 3589]
string utf_7_decode(
string
$str)
|
|
Decode string from UTF7 Use utf7Decode() instead. This method is only for BC.
Parameters:
utf_7_encode [line 3505]
string utf_7_encode(
string
$str)
|
|
Encode string to UTF7 Use utf7Encode() instead. This method is only for BC.
Parameters:
_createQuotedString [line 2083]
string _createQuotedString(
string
$str)
|
|
Create a quoted string
Parameters:
Documentation generated on Mon, 11 Mar 2019 15:17:12 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|
|