WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIImapUrl

IID:2065D454-2459-4204-B76F-0650C6FB8683
Inherits From:nsISupports

Constants

PRInt32 nsImapAuthenticatedState = 0
PRInt32 nsImapSelectedState = 1
PRInt32 nsImapActionSendText = 0
PRInt32 nsImapTest = 1
PRInt32 nsImapCreateFolder = 5
PRInt32 nsImapDeleteFolder = 6
PRInt32 nsImapRenameFolder = 7
PRInt32 nsImapMoveFolderHierarchy = 8
PRInt32 nsImapLsubFolders = 9
PRInt32 nsImapGetMailAccountUrl = 10
PRInt32 nsImapDiscoverChildrenUrl = 11
PRInt32 nsImapDiscoverAllBoxesUrl = 13
PRInt32 nsImapDiscoverAllAndSubscribedBoxesUrl = 14
PRInt32 nsImapAppendMsgFromFile = 15
PRInt32 nsImapSubscribe = 16
PRInt32 nsImapUnsubscribe = 17
PRInt32 nsImapRefreshACL = 18
PRInt32 nsImapRefreshAllACLs = 19
PRInt32 nsImapListFolder = 20
PRInt32 nsImapUpgradeToSubscription = 21
PRInt32 nsImapFolderStatus = 22
PRInt32 nsImapRefreshFolderUrls = 23
PRInt32 nsImapEnsureExistsFolder = 24
PRInt32 nsImapOfflineToOnlineCopy = 25
PRInt32 nsImapOfflineToOnlineMove = 26
PRInt32 nsImapSelectFolder = 268435458
PRInt32 nsImapLiteSelectFolder = 268435459
PRInt32 nsImapExpungeFolder = 268435460
PRInt32 nsImapMsgFetch = 268435480
PRInt32 nsImapMsgHeader = 268435481
PRInt32 nsImapSearch = 268435482
PRInt32 nsImapDeleteMsg = 268435483
PRInt32 nsImapDeleteAllMsgs = 268435484
PRInt32 nsImapAddMsgFlags = 268435485
PRInt32 nsImapSubtractMsgFlags = 268435486
PRInt32 nsImapSetMsgFlags = 268435487
PRInt32 nsImapOnlineCopy = 268435488
PRInt32 nsImapOnlineMove = 268435489
PRInt32 nsImapOnlineToOfflineCopy = 268435490
PRInt32 nsImapOnlineToOfflineMove = 268435491
PRInt32 nsImapMsgPreview = 268435492
PRInt32 nsImapBiff = 268435494
PRInt32 nsImapSelectNoopFolder = 268435495
PRInt32 nsImapAppendDraftFromFile = 268435496
PRInt32 nsImapUidExpunge = 268435497
PRInt32 nsImapSaveMessageToDisk = 268435504
PRInt32 nsImapOpenMimePart = 268435505
PRInt32 nsImapMsgDownloadForOffline = 268435506
PRInt32 nsImapDeleteFolderAndMsgs = 268435507
PRInt32 nsImapUserDefinedMsgCommand = 268435508
PRInt32 nsImapUserDefinedFetchAttribute = 268435509
PRInt32 nsImapMsgFetchPeek = 268435510
PRInt32 nsImapMsgStoreCustomKeywords = 268435511

Properties

PRBool allowContentChange

readonly char* command

nsImapContentModifiedType contentModified

nsISupports copyState

readonly char* customAddFlags

char* customAttributeResult

readonly char* customAttributeToFetch

char* customCommandResult

readonly char* customSubtractFlags

PRBool externalLinkUrl

PRBool fetchPartsOnDemand

nsImapAction imapAction

nsIImapMailFolderSink imapMailFolderSink

nsIImapMessageSink imapMessageSink

readonly char* imapPartToFetch

nsIImapServerSink imapServerSink

PRBool mimePartSelectorDetected

nsIImapMockChannel mockChannel

nsIFile msgFile

readonly imapMessageFlagsType msgFlags

PRBool msgLoadingFromCache

readonly PRInt32 numBytesToFetch

char onlineSubDirSeparator

readonly nsImapState requiredImapState

PRBool rerunningUrl

PRBool shouldStoreMsgOffline

PRBool validUrl


Methods

char* addOnlineDirectoryIfNecessary ( char* onlineMailboxName ) void allocateCanonicalPath ( char* serverPath , char onlineDelimiter , out char* allocatedPath ) void allocateServerPath ( char* canonicalPath , char onlineDelimiter , out char* allocatedPath ) char* createCanonicalSourceFolderPathString ( ) void createListOfMessageIdsString ( out char* result ) void createSearchCriteriaString ( out char* result ) char* createServerDestinationFolderPathString ( ) char* createServerSourceFolderPathString ( ) PRBool messageIdsAreUids ( )

char* addOnlineDirectoryIfNecessary ( char* onlineMailboxName )

Arguments:
onlineMailboxName

void allocateCanonicalPath ( char* serverPath , char onlineDelimiter , out char* allocatedPath )

Arguments:
serverPath
onlineDelimiter
allocatedPath

void allocateServerPath ( char* canonicalPath , char onlineDelimiter , out char* allocatedPath )

Arguments:
canonicalPath
onlineDelimiter
allocatedPath

char* createCanonicalSourceFolderPathString ( )


void createListOfMessageIdsString ( out char* result )

Arguments:
result

void createSearchCriteriaString ( out char* result )

Arguments:
result

char* createServerDestinationFolderPathString ( )


char* createServerSourceFolderPathString ( )


PRBool messageIdsAreUids ( )


References

This interface is passed as an argument to the following methods:

nsIImapIncomingServer.GetImapConnectionAndLoadUrl, nsIImapMailFolderSink.getMessageId, nsIImapMailFolderSink.setAppendMsgUid, nsIImapMailFolderSink.setCopyResponseUid, nsIImapMessageSink.SetContentModified, nsIImapMessageSink.getCurMoveCopyMessageInfo, nsIImapMessageSink.normalEndMsgWriteStream, nsIImapProtocol.CanHandleUrl, nsIImapProtocol.GetRunningImapURL, nsIImapServerSink.retryUrl, nsIImapService.fetchMessage

Reference documentation is generated from Mozilla's source.