4D Internet Commands, Commands and Topics for IC IMAP Review Mail
IMAP4 Commands, Overview
IMAP_SetPrefs
(stripLineFeed; msgFolder)
Integer
IMAP_GetPrefs
(stripLineFeed; msgFolder)
Integer
IMAP_Login
(hostName; userName; password; imap_ID)
Integer
IMAP_VerifyID
(imap_ID)
Integer
IMAP_Capability
(imap_ID; capability)
Integer
IMAP_ListMBs
(imap_ID; mbRefName; mbName; mbNamesArray; mbAttribsArray; mbHierarArray{; subscribedMB})
Integer
IMAP_SubscribeMB
(imap_ID; mbName; mbSubscribe)
Integer
IMAP_GetMBStatus
(imap_ID; mbName; msgNber; newMsgNber; unseenMsgNber; mbUID)
Integer
IMAP_SetCurrentMB
(imap_ID; mbName; msgNber; newMsgNber; customFlags; permanentFlags; mbUID)
Integer
IMAP_GetCurrentMB
(imap_ID; mbName)
Integer
IMAP_CloseCurrentMB
(imap_ID)
Integer
IMAP_Delete
(imap_ID; startMsg; endMsg)
Integer
IMAP_MsgInfo
(imap_ID; msgNum; msgSize; uniqueID)
Integer
IMAP_GetMessage
(imap_ID; msgNum; offset; length; msgPart; msgText{; updateSeen})
Integer
IMAP_MsgLstInfo
(imap_ID; startMsg; endMsg; msgSizeArray; msgNumArray; msgIdArray)
Integer
IMAP_MsgLst
(imap_ID; startMsg; endMsg; msgHeaderArray; msgNumArray; msgIdArray; msgValueArray)
Integer
IMAP_SetFlags
(imap_ID; startMsg; endMsg; msgFlagsList; deleteOption)
Integer
IMAP_GetFlags
(imap_ID; startMsg; endMsg; msgFlagsArray; msgNumArray)
Integer
IMAP_MsgFetch
(imap_ID; msgNum; msgDataItem; msgDataItemValue)
Integer
IMAP_Download
(imap_ID; msgNum; headerOnly; fileName{; updateSeen})
Integer
IMAP_UIDToMsgNum
(imap_ID; unique_ID; msgNum)
Integer
IMAP_MsgNumToUID
(imap_ID; msgNum; unique_ID)
Integer
IMAP_Search
(imap_ID; searchCriteria; msgNumArray)
Integer
IMAP_CopyToMB
(imap_ID; startMsg; endMsg; mbNameTarget{; msgDelete})
Integer
IMAP_CreateMB
(imap_ID; mbName)
Integer
IMAP_DeleteMB
(imap_ID; mbName)
Integer
IMAP_RenameMB
(imap_ID; mbName; newMBName)
Integer
IMAP_Logout
(imap_ID)
Integer