nsIMsgMessageService

IID:F11009C1-F697-11d2-807F-006008128C4E
Inherits From:nsISupports

This interface is intended to be used as a service.

This interface is implemented by the following components:


Methods

void CopyMessage ( char* srcURI , nsIStreamListener copyListener , PRBool moveMessage , nsIUrlListener urlListener , nsIMsgWindow msgWindow , out nsIURI URL ) [noscript] void CopyMessages ( nsMsgKeyArrayPtr* keys , nsIMsgFolder srcFolder , nsIStreamListener copyListener , PRBool moveMessage , nsIUrlListener urlListener , nsIMsgWindow msgWindow , out nsIURI URL ) void DisplayMessage ( char* messageURI , nsISupports displayConsumer , nsIMsgWindow msgWindow , nsIUrlListener urlListener , char* charsetOverride , out nsIURI URL ) void DisplayMessageForPrinting ( char* messageURI , nsISupports displayConsumer , nsIMsgWindow msgWindow , nsIUrlListener urlListener , out nsIURI URL ) void GetUrlForUri ( char* messageURI , out nsIURI URL , nsIMsgWindow msgWindow ) nsIMsgDBHdr messageURIToMsgHdr ( char* uri ) void openAttachment ( char* contentType , char* fileName , char* url , char* messageUri , nsISupports displayConsumer , nsIMsgWindow msgWindow , nsIUrlListener urlListener ) void SaveMessageToDisk ( char* messageURI , nsIFileSpec file , PRBool generateDummyEnvelope , nsIUrlListener urlListener , out nsIURI URL , PRBool canonicalLineEnding , nsIMsgWindow msgWindow ) void Search ( nsIMsgSearchSession searchSession , nsIMsgWindow msgWindow , nsIMsgFolder msgFolder , char* searchUri ) nsIURI streamMessage ( char* messageURI , nsISupports consumer , nsIMsgWindow msgWindow , nsIUrlListener urlListener , PRBool convertData , char* additionalHeader )

void CopyMessage ( char* srcURI , nsIStreamListener copyListener , PRBool moveMessage , nsIUrlListener urlListener , nsIMsgWindow msgWindow , out nsIURI URL )

Arguments:
srcURI
copyListener
moveMessage
urlListener
msgWindow
URL

void CopyMessages ( nsMsgKeyArrayPtr* keys , nsIMsgFolder srcFolder , nsIStreamListener copyListener , PRBool moveMessage , nsIUrlListener urlListener , nsIMsgWindow msgWindow , out nsIURI URL )

Arguments:
keys
srcFolder
copyListener
moveMessage
urlListener
msgWindow
URL

void DisplayMessage ( char* messageURI , nsISupports displayConsumer , nsIMsgWindow msgWindow , nsIUrlListener urlListener , char* charsetOverride , out nsIURI URL )

Arguments:
messageURI
displayConsumer
msgWindow
urlListener
charsetOverride
URL

void DisplayMessageForPrinting ( char* messageURI , nsISupports displayConsumer , nsIMsgWindow msgWindow , nsIUrlListener urlListener , out nsIURI URL )

Arguments:
messageURI
displayConsumer
msgWindow
urlListener
URL

void GetUrlForUri ( char* messageURI , out nsIURI URL , nsIMsgWindow msgWindow )

Arguments:
messageURI
URL
msgWindow

nsIMsgDBHdr messageURIToMsgHdr ( char* uri )

Now the the message datasource is going away we need away to go from message uri to go nsIMsgDBHdr

Arguments:
uri

void openAttachment ( char* contentType , char* fileName , char* url , char* messageUri , nsISupports displayConsumer , nsIMsgWindow msgWindow , nsIUrlListener urlListener )

Arguments:
contentType
fileName
url
messageUri
displayConsumer
msgWindow
urlListener

void SaveMessageToDisk ( char* messageURI , nsIFileSpec file , PRBool generateDummyEnvelope , nsIUrlListener urlListener , out nsIURI URL , PRBool canonicalLineEnding , nsIMsgWindow msgWindow )

Arguments:
messageURI
file
generateDummyEnvelope
urlListener
URL
canonicalLineEnding
msgWindow

void Search ( nsIMsgSearchSession searchSession , nsIMsgWindow msgWindow , nsIMsgFolder msgFolder , char* searchUri )

Arguments:
searchSession
msgWindow
msgFolder
searchUri

nsIURI streamMessage ( char* messageURI , nsISupports consumer , nsIMsgWindow msgWindow , nsIUrlListener urlListener , PRBool convertData , char* additionalHeader )

Arguments:
messageURI
consumer
msgWindow
urlListener
convertData
additionalHeader

References

This interface is returned from the following methods:

nsIMessenger.messageServiceFromURI

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com