nsIMessenger

IID:23d3e8c1-9fa9-4496-96a6-eb43cb1c4bb0
Inherits From:nsISupports

This interface is implemented by the following components:


Constants

PRInt32 eUnknown = 0
PRInt32 eDeleteMsg = 1
PRInt32 eMoveMsg = 2
PRInt32 eCopyMsg = 3

Properties

readonly char* lastDisplayedMessageUri

PRBool sendingUnsentMsgs

readonly nsITransactionManager transactionManager


Methods

PRBool CanRedo ( ) PRBool CanUndo ( ) void CompactFolder ( nsIRDFCompositeDataSource db , nsIRDFResource folder , PRBool forAll ) void CopyFolders ( nsIRDFCompositeDataSource database , nsIRDFResource dstResource , nsISupportsArray folders , PRBool isMoveFolder ) void CopyMessages ( nsIRDFCompositeDataSource database , nsIRDFResource srcResource , nsIRDFResource dstResource , nsISupportsArray messages , PRBool isMove ) void DeleteFolders ( nsIRDFCompositeDataSource db , nsIRDFResource parentFolder , nsIRDFResource folder ) void detachAllAttachments ( PRUint32 count , arrayof char* contentTypeArray , arrayof char* urlArray , arrayof char* displayNameArray , arrayof char* messageUriArray , PRBool saveFirst ) void detachAttachment ( char* contentTpe , char* url , char* displayName , char* messageUri , PRBool saveFirst ) void EmptyTrash ( nsIRDFCompositeDataSource db , nsIRDFResource folder ) PRUint32 GetRedoTransactionType ( ) PRUint32 GetUndoTransactionType ( ) void launchExternalURL ( char* URL ) void loadURL ( nsIDOMWindowInternal ptr , char* URL ) nsIMsgMessageService messageServiceFromURI ( char* uri ) nsIMsgDBHdr msgHdrFromURI ( char* uri ) void openAttachment ( char* contentTpe , char* url , char* displayName , char* messageUri , PRBool isExternalAttachment ) void OpenURL ( char* URL ) void Redo ( nsIMsgWindow msgWindow ) void RenameFolder ( nsIRDFCompositeDataSource db , nsIRDFResource folder , PRUnichar* name ) void saveAllAttachments ( PRUint32 count , arrayof char* contentTypeArray , arrayof char* urlArray , arrayof char* displayNameArray , arrayof char* messageUriArray ) void saveAs ( char* URI , PRBool asFile , nsIMsgIdentity identity , PRUnichar* msgFilename ) void saveAttachment ( char* contentTpe , char* url , char* displayName , char* messageUri , PRBool isExternalAttachment ) nsILocalFile saveAttachmentToFolder ( char* contentType , char* url , char* displayName , char* messageUri , nsILocalFile destFolder ) void sendUnsentMessages ( nsIMsgIdentity identity , nsIMsgWindow msgWindow ) void setDisplayCharset ( char* charset ) void SetDocumentCharset ( char* characterSet ) void SetWindow ( nsIDOMWindowInternal ptr , nsIMsgWindow msgWindow ) void Undo ( nsIMsgWindow msgWindow )

PRBool CanRedo ( )


PRBool CanUndo ( )


void CompactFolder ( nsIRDFCompositeDataSource db , nsIRDFResource folder , PRBool forAll )

Arguments:
db
folder
forAll

void CopyFolders ( nsIRDFCompositeDataSource database , nsIRDFResource dstResource , nsISupportsArray folders , PRBool isMoveFolder )

Arguments:
database
dstResource
folders
isMoveFolder

void CopyMessages ( nsIRDFCompositeDataSource database , nsIRDFResource srcResource , nsIRDFResource dstResource , nsISupportsArray messages , PRBool isMove )

Arguments:
database
srcResource
dstResource
messages
isMove

void DeleteFolders ( nsIRDFCompositeDataSource db , nsIRDFResource parentFolder , nsIRDFResource folder )

Arguments:
db
parentFolder
folder

void detachAllAttachments ( PRUint32 count , arrayof char* contentTypeArray , arrayof char* urlArray , arrayof char* displayNameArray , arrayof char* messageUriArray , PRBool saveFirst )

Arguments:
count
contentTypeArray
urlArray
displayNameArray
messageUriArray
saveFirst

void detachAttachment ( char* contentTpe , char* url , char* displayName , char* messageUri , PRBool saveFirst )

Arguments:
contentTpe
url
displayName
messageUri
saveFirst

void EmptyTrash ( nsIRDFCompositeDataSource db , nsIRDFResource folder )

Arguments:
db
folder

PRUint32 GetRedoTransactionType ( )


PRUint32 GetUndoTransactionType ( )


void launchExternalURL ( char* URL )

Arguments:
URL

void loadURL ( nsIDOMWindowInternal ptr , char* URL )

Load a custom message by url, e.g load a attachment as a email

Arguments:
ptr
URL

nsIMsgMessageService messageServiceFromURI ( char* uri )

Arguments:
uri

nsIMsgDBHdr msgHdrFromURI ( char* uri )

Arguments:
uri

void openAttachment ( char* contentTpe , char* url , char* displayName , char* messageUri , PRBool isExternalAttachment )

Arguments:
contentTpe
url
displayName
messageUri
isExternalAttachment

void OpenURL ( char* URL )

Arguments:
URL

void Redo ( nsIMsgWindow msgWindow )

Arguments:
msgWindow

void RenameFolder ( nsIRDFCompositeDataSource db , nsIRDFResource folder , PRUnichar* name )

Arguments:
db
folder
name

void saveAllAttachments ( PRUint32 count , arrayof char* contentTypeArray , arrayof char* urlArray , arrayof char* displayNameArray , arrayof char* messageUriArray )

Arguments:
count
contentTypeArray
urlArray
displayNameArray
messageUriArray

void saveAs ( char* URI , PRBool asFile , nsIMsgIdentity identity , PRUnichar* msgFilename )

Arguments:
URI
asFile
identity
msgFilename

void saveAttachment ( char* contentTpe , char* url , char* displayName , char* messageUri , PRBool isExternalAttachment )

Arguments:
contentTpe
url
displayName
messageUri
isExternalAttachment

nsILocalFile saveAttachmentToFolder ( char* contentType , char* url , char* displayName , char* messageUri , nsILocalFile destFolder )

Arguments:
contentType
url
displayName
messageUri
destFolder

void sendUnsentMessages ( nsIMsgIdentity identity , nsIMsgWindow msgWindow )

Arguments:
identity
msgWindow

void setDisplayCharset ( char* charset )

Arguments:
charset

void SetDocumentCharset ( char* characterSet )

Arguments:
characterSet

void SetWindow ( nsIDOMWindowInternal ptr , nsIMsgWindow msgWindow )

Arguments:
ptr
msgWindow

void Undo ( nsIMsgWindow msgWindow )

Arguments:
msgWindow

References

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

nsIMsgDBView.cloneDBView, nsIMsgDBView.init

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com