nsIMsgSendLaterListener
| IID: | 607DA5A8-289D-11d3-82B7-444553540002 |
| Inherits From: | nsISupports |
This interface is implemented by the following components:
Methods
void OnProgress ( PRUint32 currentMessage , PRUint32 totalMessage )
void OnStartSending ( PRUint32 totalMessageCount )
void OnStatus ( PRUnichar* msg )
void OnStopSending ( nsresult status , PRUnichar* msg , PRUint32 totalTried , PRUint32 successful )
void OnProgress ( PRUint32 currentMessage , PRUint32 totalMessage )
Notify the observer that progress as occurred for send operation
- Arguments:
- currentMessage
- totalMessage
void OnStartSending ( PRUint32 totalMessageCount )
Notify the observer that the operation of sending all unset messages has started
- Arguments:
- totalMessageCount
void OnStatus ( PRUnichar* msg )
Notify the observer with a status message for the send later operation
- Arguments:
- msg
void OnStopSending ( nsresult status , PRUnichar* msg , PRUint32 totalTried , PRUint32 successful )
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. msgID 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.
- Arguments:
- status
- msg
- totalTried
- successful
References
This interface is passed as an argument to the following methods:
nsIMsgSendLater.AddListener, nsIMsgSendLater.RemoveListener
Reference documentation is generated from Mozilla's source.
