Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIMsgSendListener Interface Reference

import "nsIMsgSendListener.idl";

Inheritance diagram for nsIMsgSendListener:
Inheritance graph
[legend]
Collaboration diagram for nsIMsgSendListener:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void onStartSending (in string aMsgID, in PRUint32 aMsgSize)
 Notify the observer that the message has started to be delivered.
void onProgress (in string aMsgID, in PRUint32 aProgress, in PRUint32 aProgressMax)
 Notify the observer that progress as occurred for the message send.
void onStatus (in string aMsgID, in wstring aMsg)
 Notify the observer with a status message for the message send.
void onStopSending (in string aMsgID, in nsresult aStatus, in wstring aMsg, in nsIFileSpec returnFileSpec)
 Notify the observer that the message has been sent.
void onGetDraftFolderURI (in string aFolderURI)
 Notify the observer with the folder uri before the draft is copied.
void onSendNotPerformed (in string aMsgID, in nsresult aStatus)
 Notify the observer when the user aborts the send without actually doing the send eg : by closing the compose window without Send.

Detailed Description

Definition at line 43 of file nsIMsgSendListener.idl.


Member Function Documentation

Notify the observer with the folder uri before the draft is copied.

void nsIMsgSendListener::onProgress ( in string  aMsgID,
in PRUint32  aProgress,
in PRUint32  aProgressMax 
)

Notify the observer that progress as occurred for the message send.

Notify the observer when the user aborts the send without actually doing the send eg : by closing the compose window without Send.

Notify the observer that the message has started to be delivered.

This method is called only once, at the beginning of a message send operation.

Returns:
The return value is currently ignored. In the future it may be used to cancel the URL load..
void nsIMsgSendListener::onStatus ( in string  aMsgID,
in wstring  aMsg 
)

Notify the observer with a status message for the message send.

void nsIMsgSendListener::onStopSending ( in string  aMsgID,
in nsresult  aStatus,
in wstring  aMsg,
in nsIFileSpec  returnFileSpec 
)

Notify the observer that the message has been sent.

This method is called once when the networking library has finished processing the message.

This method is called regardless of whether the the operation was successful. aMsgID The message id for the mail message status Status code for the message send. msg A text string describing the error. returnFileSpec The returned file spec for save to file operations.


The documentation for this interface was generated from the following file: