Class: Net_IMAPProtocol
Source Location: /Net_IMAP-1.1.3/Net/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 168]
Net_IMAPProtocol Net_IMAPProtocol(
)
|
|
Constructor Instantiates a new Net_IMAP object.
cmdAppend [line 1148]
mixed cmdAppend(
string
$mailbox, string
$msg, [string
$flags_list = ''], [string
$time = ''])
|
|
Send the APPEND Command
Parameters:
cmdAuthenticate [line 526]
array cmdAuthenticate(
string
$uid, string
$pwd, [string
$userMethod = null])
|
|
Attempt to authenticate to the iMAP server.
Parameters:
cmdCapability [line 994]
Send the CAPABILITY Command
cmdCheck [line 811]
cmdClose [line 1221]
cmdConnect [line 197]
mixed cmdConnect(
[string
$host = 'localhost'], [int
$port = 143])
|
|
Attempt to connect to the IMAP server.
Parameters:
cmdCopy [line 1369]
mixed cmdCopy(
string
$message_set, string
$mailbox)
|
|
Send the COPY command.
Parameters:
cmdCreate [line 881]
array cmdCreate(
string
$mailbox, [array
$options = null])
|
|
Send the CREATE Mailbox Command
Parameters:
cmdDelete [line 925]
array cmdDelete(
string
$mailbox)
|
|
Send the DELETE Mailbox Command
Parameters:
cmdDeleteACL [line 1777]
mixed cmdDeleteACL(
string
$mailbox_name, string
$user)
|
|
Send the DELETEACL command.
Parameters:
cmdDeleteAnnotation [line 1946]
mixed cmdDeleteAnnotation(
string
$mailboxName, string
$entry, string
$values)
|
|
Send the DELETEANNOTATION command.
Parameters:
cmdExamine [line 849]
array cmdExamine(
string
$mailbox)
|
|
Send the EXAMINE Mailbox Command
Parameters:
cmdExpunge [line 1236]
Send the EXPUNGE command.
cmdFetch [line 979]
mixed cmdFetch(
string
$msgset, string
$fetchparam)
|
|
Send the FETCH Command
Parameters:
cmdGetACL [line 1804]
mixed cmdGetACL(
string
$mailbox_name)
|
|
Send the GETACL command.
Parameters:
cmdGetAnnotation [line 1988]
mixed cmdGetAnnotation(
string
$mailboxName, string
$entries, string
$values)
|
|
Send the GETANNOTATION command.
Parameters:
cmdGetQuota [line 1556]
mixed cmdGetQuota(
string
$mailbox_name)
|
|
Send the GETQUOTA command.
Parameters:
cmdGetQuotaRoot [line 1586]
mixed cmdGetQuotaRoot(
string
$mailbox_name)
|
|
Send the GETQUOTAROOT command.
Parameters:
cmdList [line 1104]
mixed cmdList(
string
$mailbox_base, string
$mailbox)
|
|
Send the LIST Command
Parameters:
cmdListRights [line 1834]
mixed cmdListRights(
string
$mailbox_name, string
$user)
|
|
Send the LISTRIGHTS command.
Parameters:
cmdLogin [line 507]
array cmdLogin(
string
$uid, string
$pwd)
|
|
Attempt to login to the iMAP server.
Parameters:
cmdLogout [line 769]
Attempt to disconnect from the iMAP server.
cmdLsub [line 1125]
mixed cmdLsub(
string
$mailbox_base, string
$mailbox)
|
|
Send the LSUB Command
Parameters:
cmdMyRights [line 1864]
mixed cmdMyRights(
string
$mailbox_name)
|
|
Send the MYRIGHTS command.
Parameters:
cmdNamespace [line 1026]
Send the CAPABILITY Command
cmdNoop [line 797]
cmdRename [line 903]
array cmdRename(
string
$mailbox, string
$new_mailbox, [array
$options = null])
|
|
Send the RENAME Mailbox Command
Parameters:
cmdSearch [line 1270]
mixed cmdSearch(
string
$search_cmd)
|
|
Send the SEARCH command.
Parameters:
cmdSelect [line 827]
array cmdSelect(
string
$mailbox)
|
|
Send the Select Mailbox Command
Parameters:
cmdSetACL [line 1743]
mixed cmdSetACL(
string
$mailbox_name, string
$user, string
$acl)
|
|
Send the SETACL command.
Parameters:
cmdSetAnnotation [line 1904]
mixed cmdSetAnnotation(
string
$mailboxName, string
$entry, string
$values)
|
|
Send the SETANNOTATION command.
Parameters:
cmdSetQuota [line 1620]
mixed cmdSetQuota(
string
$mailbox_name, [string
$storageQuota = null], [string
$messagesQuota = null])
|
|
Send the SETQUOTA command.
Parameters:
cmdSetQuotaRoot [line 1683]
mixed cmdSetQuotaRoot(
string
$mailbox_name, [string
$storageQuota = null], [string
$messagesQuota = null])
|
|
Send the SETQUOTAROOT command.
Parameters:
cmdSort [line 1295]
mixed cmdSort(
string
$sort_cmd)
|
|
Send the SORT command.
Parameters:
cmdStartTLS [line 3751]
Return true if the TLS negotiation was successful
cmdStatus [line 1055]
array cmdStatus(
string
$mailbox, mixed
$request)
|
|
Send the STATUS Mailbox Command
Parameters:
cmdStore [line 1332]
mixed cmdStore(
string
$message_set, string
$dataitem, string
$value)
|
|
Send the STORE command.
Parameters:
cmdSubscribe [line 942]
array cmdSubscribe(
string
$mailbox)
|
|
Send the SUSCRIBE Mailbox Command
Parameters:
cmdUidCopy [line 1410]
mixed cmdUidCopy(
string
$message_set, string
$mailbox)
|
|
The UID COPY command
Parameters:
cmdUidFetch [line 1391]
mixed cmdUidFetch(
string
$msgset, string
$fetchparam)
|
|
The UID FETH command
Parameters:
cmdUidSearch [line 1482]
mixed cmdUidSearch(
string
$search_cmd)
|
|
Send the SEARCH command.
Parameters:
cmdUidSort [line 1504]
mixed cmdUidSort(
string
$sort_cmd)
|
|
Send the UID SORT command.
Parameters:
cmdUidStore [line 1442]
mixed cmdUidStore(
string
$message_set, string
$dataitem, string
$value)
|
|
Send the UID STORE command.
Parameters:
cmdUnsubscribe [line 960]
mixed cmdUnsubscribe(
string
$mailbox)
|
|
Send the UNSUBSCRIBE Mailbox Command
Parameters:
cmdX [line 1526]
mixed cmdX(
string
$atom, string
$parameters)
|
|
Send the X command.
Parameters:
escape [line 3837]
string escape(
string
$string, [boolean
$force_quotes = false])
|
|
Escapes a string when it contains special characters (RFC3501)
Parameters:
getCurrentMailbox [line 265]
string getCurrentMailbox(
)
|
|
get current mailbox name
getDebugDialog [line 294]
getLastCmdId [line 250]
getServerAuthMethods [line 2053]
true getServerAuthMethods(
)
|
|
tell if the server has capability $capability
getUnparsedResponse [line 441]
boolean getUnparsedResponse(
)
|
|
get the "returning of the unparsed response" feature status
hasAclSupport [line 2109]
tell if the server has Quota support
hasAnnotateMoreSupport [line 2123]
true hasAnnotateMoreSupport(
)
|
|
tell if the server has support for the ANNOTATEMORE extension
hasCapability [line 2073]
true hasCapability(
string
$capability)
|
|
tell if the server has capability $capability
Parameters:
hasQuotaSupport [line 2095]
tell if the server has Quota support
setDebug [line 281]
nothing setDebug(
[boolean
$debug = true])
|
|
Sets the debuging information on or off
Parameters:
setPrintErrors [line 311]
nothing setPrintErrors(
[boolean
$printErrors = true])
|
|
Sets printed output of errors on or of
Parameters:
setStreamContextOptions [line 458]
nothing setStreamContextOptions(
array
$options)
|
|
set the options for a SSL/TLS connection (see documentation for stream_context_create)
Parameters:
setTimeout [line 474]
nothing setTimeout(
int
$timeout)
|
|
set the the timeout for the connection to the IMAP server.
Parameters:
setUnparsedResponse [line 490]
nothing setUnparsedResponse(
boolean
$status)
|
|
set the "returning of the unparsed response" feature on or off
Parameters:
utf7Decode [line 3670]
string utf7Decode(
string
$str)
|
|
Decode string from UTF7
Parameters:
utf7Encode [line 3586]
string utf7Encode(
string
$str)
|
|
Encode string to UTF7
Parameters:
utf_7_decode [line 3655]
string utf_7_decode(
string
$str)
|
|
Decode string from UTF7 Use utf7Decode() instead. This method is only for BC.
Parameters:
utf_7_encode [line 3571]
string utf_7_encode(
string
$str)
|
|
Encode string to UTF7 Use utf7Encode() instead. This method is only for BC.
Parameters:
_createQuotedString [line 2138]
string _createQuotedString(
string
$str)
|
|
Create a quoted string
Parameters:
Documentation generated on Mon, 11 Mar 2019 15:56:40 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|
|