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.

nsIMimeEmitter

IID:D01D7B59-DCCD-11d2-A411-00805F613C79
Inherits From:nsISupports

This interface is implemented by the following components:


Methods

void addAllHeaders ( char* allheaders , PRInt32 allheadersize ) void AddAttachmentField ( char* field , char* value ) void AddHeaderField ( char* field , char* value ) void Complete ( ) void EndAllAttachments ( ) void EndAttachment ( ) void EndBody ( ) void EndHeader ( ) nsIStreamListener GetOutputListener ( ) void Initialize ( nsIURI url , nsIChannel channel , PRInt32 format ) void SetOutputListener ( nsIStreamListener listener ) void SetPipe ( nsIInputStream inputStream , nsIOutputStream outStream ) void StartAttachment ( char* name , char* contentType , char* url , PRBool notDownloaded ) void StartBody ( PRBool bodyOnly , char* msgID , char* outCharset ) void StartHeader ( PRBool rootMailHeader , PRBool headerOnly , char* msgID , char* outCharset ) void UpdateCharacterSet ( char* charset ) void UtilityWrite ( char* buf ) void Write ( char* buf , PRUint32 size , out PRUint32 amountWritten ) void WriteBody ( char* buf , PRUint32 size , out PRUint32 amountWritten ) void WriteHTMLHeaders ( )

void addAllHeaders ( char* allheaders , PRInt32 allheadersize )

Arguments:
allheaders
allheadersize

void AddAttachmentField ( char* field , char* value )

Arguments:
field
value

void AddHeaderField ( char* field , char* value )

Arguments:
field
value

void Complete ( )


void EndAllAttachments ( )


void EndAttachment ( )


void EndBody ( )


void EndHeader ( )


nsIStreamListener GetOutputListener ( )


void Initialize ( nsIURI url , nsIChannel channel , PRInt32 format )

Arguments:
url
channel
format

void SetOutputListener ( nsIStreamListener listener )

Arguments:
listener

void SetPipe ( nsIInputStream inputStream , nsIOutputStream outStream )

Arguments:
inputStream
outStream

void StartAttachment ( char* name , char* contentType , char* url , PRBool notDownloaded )

Arguments:
name
contentType
url
notDownloaded

void StartBody ( PRBool bodyOnly , char* msgID , char* outCharset )

Arguments:
bodyOnly
msgID
outCharset

void StartHeader ( PRBool rootMailHeader , PRBool headerOnly , char* msgID , char* outCharset )

Arguments:
rootMailHeader
headerOnly
msgID
outCharset

void UpdateCharacterSet ( char* charset )

Arguments:
charset

void UtilityWrite ( char* buf )

Arguments:
buf

void Write ( char* buf , PRUint32 size , out PRUint32 amountWritten )

Arguments:
buf
size
amountWritten

void WriteBody ( char* buf , PRUint32 size , out PRUint32 amountWritten )

Arguments:
buf
size
amountWritten

void WriteHTMLHeaders ( )

Reference documentation is generated from Mozilla's source.