Class: Net_IMAP
Source Location: /Net_IMAP-1.1.0beta1/IMAP.php
Net_IMAPProtocol
|
--Net_IMAP
Provides an implementation of the IMAP protocol using PEAR's Net_Socket:: class.
Author(s):
|
|
Inherited Variables
|
Inherited Methods
|
Class Details
Method Detail
Net_IMAP (Constructor) [line 43]
Net_IMAP Net_IMAP(
[string
$host = 'localhost'], [int
$port = 143], string
2)
|
|
Constructor Instantiates a new Net_SMTP object, overriding any defaults with parameters that are passed in.
Parameters:
addAnswered [line 1626]
mixed addAnswered(
mixed
$msg_id)
|
|
adds the Answered flag (\Answered) to the selected messages
Parameters:
addDeleted [line 1639]
mixed addDeleted(
mixed
$msg_id)
|
|
adds the Deleted flag (\Deleted) to the selected messages
Parameters:
addDraft [line 1665]
mixed addDraft(
mixed
$msg_id)
|
|
adds the Draft flag (\Draft) to the selected messages
Parameters:
addFlagged [line 1652]
mixed addFlagged(
mixed
$msg_id)
|
|
adds the Flagged flag (\Flagged) to the selected messages
Parameters:
addFlags [line 1600]
mixed addFlags(
mixed
$msg_id, mixed
$flags)
|
|
adds flags to the selected messages
Parameters:
addSeen [line 1613]
mixed addSeen(
mixed
$msg_id)
|
|
adds the Seen flag (\Seen) to the selected messages
Parameters:
appendMessage [line 1061]
mixed appendMessage(
string
$rfc_message, [string
$mailbox = null], [
$flags_list = ''])
|
|
Appends a mail to a mailbox
Parameters:
connect [line 66]
true connect(
string
$host, string
$port)
|
|
Attempt to connect to the IMAP server located at $host $port
Parameters:
copyMessages [line 1007]
mixed copyMessages(
string
$dest_mailbox, [mixed
$msg_id = null], [string
$source_mailbox = null], [bool
$uidCopy = false])
|
|
Copies mail from one folder to another
Parameters:
createMailbox [line 1283]
mixed createMailbox(
string
$mailbox, [array
$options = null])
|
|
Creates the mailbox $mailbox
Parameters:
deleteACL [line 2159]
mixed deleteACL(
string
$mailbox_name, string
$user)
|
|
deletes the ACL on a mailbox
Parameters:
deleteAnnotation [line 2289]
void deleteAnnotation(
$entry,
$values, [
$mailbox_name = null])
|
|
Parameters:
deleteMailbox [line 1302]
mixed deleteMailbox(
string
$mailbox)
|
|
Deletes the mailbox $mailbox
Parameters:
deleteMessages [line 952]
void deleteMessages(
[
$msg_id = null], [
$uidStore = false])
|
|
Parameters:
deleteMsg [line 2425]
disconnect [line 180]
void disconnect(
[
$expungeOnExit = false])
|
|
Parameters:
examineMailbox [line 230]
void examineMailbox(
$mailbox)
|
|
Parameters:
expunge [line 1872]
**************************************************************** * ** * MISC METHODS ** * ** ****************************************************************
getACL [line 2099]
string getACL(
[string
$mailbox_name = null])
|
|
get the Access Control List details
Parameters:
getACLRights [line 2223]
mixed getACLRights(
$user, [string
$mailbox_name = null])
|
|
returns an array containing the rights that a user logged on has on the mailbox this method can be used by any user, not only the administrator
Parameters:
getAnnotation [line 2309]
void getAnnotation(
$entries,
$values, [
$mailbox_name = null])
|
|
Parameters:
getBody [line 413]
void getBody(
$msg_id, [
$uidFetch = false])
|
|
Parameters:
getBodyPart [line 437]
void getBodyPart(
$msg_id,
$partId, [
$uidFetch = false])
|
|
Parameters:
getEnvelope [line 829]
void getEnvelope(
[
$mailbox = ''], [
$msg_id = null], [
$uidFetch = false])
|
|
Parameters:
getFlags [line 1500]
mixed getFlags(
[mixes
$msg_id = null])
|
|
Lists the flags of the selected messages
Parameters:
getHierarchyDelimiter [line 1138]
string getHierarchyDelimiter(
[
$mailbox = ''])
|
|
Gets the HierachyDelimiter character used to create subfolders cyrus users "." and wu-imapd uses "/" $param string the mailbox to get the hierarchy from
Parameters:
getListing [line 2419]
void getListing(
[
$msg_id = null])
|
|
Parameters:
getMailboxes [line 1182]
mixed getMailboxes(
[
$reference = ''], [string
$restriction_search = 0], [string
$returnAttributes = false], string
$mailbox_base)
|
|
Returns an array containing the names of the selected mailboxes
Parameters:
getMailboxSize [line 884]
void getMailboxSize(
[
$mailbox = ''])
|
|
Parameters:
getMessages [line 670]
void getMessages(
[
$msg_id = null], [
$indexIsMessageNumber = true])
|
|
Parameters:
getMessagesList [line 330]
void getMessagesList(
[
$msg_id = null])
|
|
Parameters:
getMessagesQuota [line 2003]
assoc getMessagesQuota(
[string
$mailbox_name = null])
|
|
Returns MESSAGES quota details
Parameters:
getMsg [line 2406]
getMyRights [line 2182]
mixed getMyRights(
[string
$mailbox_name = null])
|
|
returns the rights that the user logged on has on the mailbox this method can be used by any user, not only the administrator
Parameters:
getNamespace [line 1083]
mixed getNamespace(
string
$rfc_message, string
$mailbox)
|
|
Appends a mail to a mailbox
Parameters:
getNumberOfMessages [line 718]
void getNumberOfMessages(
[
$mailbox = ''])
|
|
Parameters:
getNumberOfRecentMessages [line 773]
void getNumberOfRecentMessages(
[
$mailbox = ''])
|
|
Parameters:
getNumberOfUnSeenMessages [line 746]
void getNumberOfUnSeenMessages(
[
$mailbox = ''])
|
|
Parameters:
getParsedHeaders [line 293]
void getParsedHeaders(
$msg_id, [
$keysToUpper = false], [
$part_id = ''], [
$uidFetch = false])
|
|
Parameters:
getRawHeaders [line 257]
void getRawHeaders(
$msg_id, [
$part_id = ''], [
$uidFetch = false])
|
|
Parameters:
getSize [line 2389]
*************************************************** *******************************************************
getStatus [line 800]
void getStatus(
[
$mailbox = ''])
|
|
Parameters:
getStorageQuota [line 1967]
assoc getStorageQuota(
[string
$mailbox_name = null])
|
|
Returns STORAGE quota details
Parameters:
getStorageQuotaRoot [line 1933]
assoc getStorageQuotaRoot(
[string
$mailbox_name = null])
|
|
Returns STORAGE quota details
Parameters:
getStructure [line 460]
void getStructure(
$msg_id, [
$uidFetch = false])
|
|
Parameters:
getSummary [line 357]
void getSummary(
[
$msg_id = null], [
$uidFetch = false])
|
|
Parameters:
hasFlag [line 1837]
void hasFlag(
$message_nro,
$flag)
|
|
Parameters:
isAnswered [line 1773]
mixed isAnswered(
mixes
$message_nro)
|
|
check the Answered flag
Parameters:
isDeleted [line 1827]
mixed isDeleted(
mixes
$message_nro)
|
|
check the Deleted flag
Parameters:
isDraft [line 1808]
mixed isDraft(
mixes
$message_nro)
|
|
check the Draft flag
Parameters:
isFlagged [line 1790]
mixed isFlagged(
mixes
$message_nro)
|
|
check the flagged flag
Parameters:
isSeen [line 1757]
mixed isSeen(
mixes
$message_nro)
|
|
check the Seen flag
Parameters:
listsubscribedMailboxes [line 1415]
mixed listsubscribedMailboxes(
[
$reference = ''], [
$restriction_search = 0], [
$returnAttributes = false], string
$mailbox_base, string
$mailbox_name)
|
|
Lists the subscription to mailboxes
Parameters:
login [line 121]
true login(
string
$user, string
$pass, [string
$useauthenticate = true], [boolean
$selectMailbox = true])
|
|
Attempt to authenticate to the IMAP server.
Parameters:
mailboxExist [line 1252]
boolean mailboxExist(
string
$mailbox)
|
|
check if the mailbox name exists
Parameters:
numMsg [line 2394]
void numMsg(
[
$mailbox = null])
|
|
Parameters:
removeAnswered [line 1705]
mixed removeAnswered(
mixed
$msg_id)
|
|
remove the Answered flag (\Answered) from the selected messages
Parameters:
removeDeleted [line 1718]
mixed removeDeleted(
mixed
$msg_id)
|
|
remove the Deleted flag (\Deleted) from the selected messages
Parameters:
removeDraft [line 1744]
mixed removeDraft(
mixed
$msg_id)
|
|
remove the Draft flag (\Draft) from the selected messages
Parameters:
removeFlagged [line 1731]
mixed removeFlagged(
mixed
$msg_id)
|
|
remove the Flagged flag (\Flagged) from the selected messages
Parameters:
removeFlags [line 1679]
mixed removeFlags(
mixed
$msg_id, mixed
$flags)
|
|
remove flags from the selected messages
Parameters:
removeSeen [line 1692]
mixed removeSeen(
mixed
$msg_id)
|
|
remove the Seen flag (\Seen) from the selected messages
Parameters:
renameMailbox [line 1332]
mixed renameMailbox(
$oldmailbox,
$newmailbox, [array
$options = null], string
$mailbox)
|
|
Renames the mailbox $mailbox
Parameters:
search [line 1893]
void search(
$search_list, [
$uidSearch = false])
|
|
Parameters:
selectMailbox [line 209]
void selectMailbox(
$mailbox)
|
|
Parameters:
setACL [line 2137]
mixed setACL(
string
$mailbox_name, string
$user, string
$acl)
|
|
Set ACL on a mailbox
Parameters:
setAnnotation [line 2269]
void setAnnotation(
$entry,
$values, [
$mailbox_name = null])
|
|
**************************************************************** * ** * ANNOTATEMORE METHODS ** * ** ****************************************************************
Parameters:
setFlags [line 1542]
mixed setFlags(
mixed
$msg_id, mixed
$flags, [string
$mod = 'set'], [$uidStore
$uidStore = false])
|
|
Sets the flags of the selected messages
Parameters:
setMessagesQuota [line 2061]
true setMessagesQuota(
string
$mailbox_name,
$quota)
|
|
sets MESSAGES quota details
Parameters:
setStorageQuota [line 2039]
true setStorageQuota(
string
$mailbox_name,
$quota)
|
|
sets STORAGE quota details
Parameters:
subscribeMailbox [line 1367]
mixed subscribeMailbox(
[string
$mailbox = null])
|
|
Subscribes to the selected mailbox
Parameters:
unsubscribeMailbox [line 1391]
mixed unsubscribeMailbox(
[string
$mailbox = null])
|
|
Removes the subscription to a mailbox
Parameters:
Documentation generated on Mon, 11 Mar 2019 14:54:13 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|
|