nsIMsgSend

IID:9E9BD970-C5D6-11d2-8297-000000000000
Inherits From:nsISupports

This interface is implemented by the following components:


Constants

nsMsgDeliverMode nsMsgDeliverNow = 0
nsMsgDeliverMode nsMsgQueueForLater = 1
nsMsgDeliverMode nsMsgSave = 2
nsMsgDeliverMode nsMsgSaveAs = 3
nsMsgDeliverMode nsMsgSaveAsDraft = 4
nsMsgDeliverMode nsMsgSaveAsTemplate = 5
nsMsgDeliverMode nsMsgSendUnsent = 6

Properties

readonly PRUint32 attachmentCount

nsIMsgComposeSecure cryptoclosure

readonly nsMsgDeliverMode deliveryMode

nsMsgKey messageKey

PRUint32 pendingAttachmentCount

nsIRequest runningRequest

readonly nsIMsgSendReport sendReport

nsresult status


Methods

void abort ( ) void BeginCryptoEncapsulation ( ) [noscript] void createAndSendMessage ( nsIEditor editor , nsIMsgIdentity userIdentity , char* accountKey , nsIMsgCompFields fields , PRBool digest_p , PRBool dont_deliver_p , nsMsgDeliverMode mode , nsIMsgDBHdr msgToReplace , char* attachment1_type , char* attachment1_body , PRUint32 attachment1_body_length , nsMsgAttachmentData* attachments , nsMsgAttachedFile* preloaded_attachments , voidPtr* relatedPart , nsIDOMWindowInternal parentWindow , nsIMsgProgress progress , nsIMsgSendListener listener , char* password ) [noscript] void deliverAsMailExit ( nsIURI url , nsresult exitCode ) [noscript] void deliverAsNewsExit ( nsIURI url , nsresult exitCode ) nsresult fail ( nsresult failure_code , PRUnichar* error_msg ) [noscript] void gatherMimeAttachments ( ) [noscript] nsMsgAttachmentHandler* getAttachmentHandlers ( ) [noscript] nsIPrompt getDefaultPrompt ( ) [noscript] void getMessageId ( nsCString* messageID ) [noscript] nsOutputFileStream* getOutputStream ( ) [noscript] PRBool getProcessAttachmentsSynchronously ( ) [noscript] nsIMsgProgress getProgress ( ) [noscript] void notifyListenerOnProgress ( char* msgID , PRUint32 progress , PRUint32 progressMax ) [noscript] void notifyListenerOnProgressCopy ( PRUint32 progress , PRUint32 progressMax ) [noscript] void notifyListenerOnStartCopy ( ) [noscript] void notifyListenerOnStartSending ( char* msgID , PRUint32 msgSize ) [noscript] void notifyListenerOnStatus ( char* msgID , PRUnichar* msg ) [noscript] void notifyListenerOnStopCopy ( nsresult status ) [noscript] void notifyListenerOnStopSending ( char* msgID , nsresult status , PRUnichar* msg , nsIFileSpec returnFileSpec ) void sendMessageFile ( nsIMsgIdentity userIdentity , char* accountKey , nsIMsgCompFields fields , nsIFileSpec sendIFileSpec , PRBool deleteSendFileOnCompletion , PRBool digest_p , nsMsgDeliverMode mode , nsIMsgDBHdr msgToReplace , nsIMsgSendListener listener , nsIMsgStatusFeedback statusFeedback , char* password ) void setGUINotificationState ( PRBool enableFlag )

void abort ( )


void BeginCryptoEncapsulation ( )


void createAndSendMessage ( nsIEditor editor , nsIMsgIdentity userIdentity , char* accountKey , nsIMsgCompFields fields , PRBool digest_p , PRBool dont_deliver_p , nsMsgDeliverMode mode , nsIMsgDBHdr msgToReplace , char* attachment1_type , char* attachment1_body , PRUint32 attachment1_body_length , nsMsgAttachmentData* attachments , nsMsgAttachedFile* preloaded_attachments , voidPtr* relatedPart , nsIDOMWindowInternal parentWindow , nsIMsgProgress progress , nsIMsgSendListener listener , char* password )

Arguments:
editor
userIdentity
accountKey
fields
digest_p
dont_deliver_p
mode
msgToReplace
attachment1_type
attachment1_body
attachment1_body_length
attachments
preloaded_attachments
relatedPart
parentWindow
progress
listener
password

void deliverAsMailExit ( nsIURI url , nsresult exitCode )

Arguments:
url
exitCode

void deliverAsNewsExit ( nsIURI url , nsresult exitCode )

Arguments:
url
exitCode

nsresult fail ( nsresult failure_code , PRUnichar* error_msg )

Arguments:
failure_code
error_msg

void gatherMimeAttachments ( )


nsMsgAttachmentHandler* getAttachmentHandlers ( )


nsIPrompt getDefaultPrompt ( )


void getMessageId ( nsCString* messageID )

Arguments:
messageID

nsOutputFileStream* getOutputStream ( )


PRBool getProcessAttachmentsSynchronously ( )


nsIMsgProgress getProgress ( )


void notifyListenerOnProgress ( char* msgID , PRUint32 progress , PRUint32 progressMax )

Arguments:
msgID
progress
progressMax

void notifyListenerOnProgressCopy ( PRUint32 progress , PRUint32 progressMax )

Arguments:
progress
progressMax

void notifyListenerOnStartCopy ( )


void notifyListenerOnStartSending ( char* msgID , PRUint32 msgSize )

Arguments:
msgID
msgSize

void notifyListenerOnStatus ( char* msgID , PRUnichar* msg )

Arguments:
msgID
msg

void notifyListenerOnStopCopy ( nsresult status )

Arguments:
status

void notifyListenerOnStopSending ( char* msgID , nsresult status , PRUnichar* msg , nsIFileSpec returnFileSpec )

Arguments:
msgID
status
msg
returnFileSpec

void sendMessageFile ( nsIMsgIdentity userIdentity , char* accountKey , nsIMsgCompFields fields , nsIFileSpec sendIFileSpec , PRBool deleteSendFileOnCompletion , PRBool digest_p , nsMsgDeliverMode mode , nsIMsgDBHdr msgToReplace , nsIMsgSendListener listener , nsIMsgStatusFeedback statusFeedback , char* password )

Arguments:
userIdentity
accountKey
fields
sendIFileSpec
deleteSendFileOnCompletion
digest_p
mode
msgToReplace
listener
statusFeedback
password

void setGUINotificationState ( PRBool enableFlag )

Arguments:
enableFlag

References

This interface is the type of the following properties:

nsIMsgCompose.messageSend

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com