Search completed in 1.22 seconds.
11 results for "unsent":
Mail composition back end
Mozilla › Thunderbird › Mail composition back end
The content of this article may be out of date. It was imported from mozilla.org and last updated in 2000. by Richard H. Pizzarro <rhp@netscape.com> Contents Overview Sending Messages nsIMsgSend Sending Listener Interfaces nsIMsgSendListener nsIMsgCopyServiceListener Copy Operations Copy to Sent Folder Drafts Templates "Send Later" Sending Unsent Messages Sending Unsent Messages Listener Quoting Sample Programs Overview I've done considerable work in the past few weeks reorganizing the Mail Composition back end, so I thought it would be helpful to put together a small doc on the new interfaces and how one can use them. The Mail Composition back end is responsible for the assembly and creation of RFC822 messages to be ...
...ate is controlled by the "nsMsgDeliverMode mode" argument of the CreateAndSendMessage and SendMessageFile methods. If the caller passes in nsMsgSaveAsTemplate, the file created or passed in will be stored as a draft in the user specified "Templates" folder. Send Later Developers also have the ability to do "Send Later" operations. ...
...(See Send Later above) The nsIMsgSendLater is the interface that allows the caller to send all of the files previously stored. ...
...And 3 more matches
nsIMsgSendLater
Mozilla › Tech › XPCOM › Reference › Interface › nsIMsgSendLater
Inherits from: nsIStreamListener Implemented by: @mozilla.org/messengercompose/sendlater;1. ...
...ace provides functions for managing the unsent folder of a messaging account. Inherits from: nsIStreamListener Implemented by: @mozilla.org/messengercompose/sendlater;1. ...
...var msgSendlater = Components.classes["@mozilla.org/messengercompose/sendlater;1"] .getService(Components.interfaces.nsIMsgSendLater); Method overview void SendUnsentMessages(in nsIMsgIdentity identity); void RemoveListener(in nsIMsgSendLaterListener listener); void AddListener(in nsIMsgSendLaterListener listener); nsIMsgFolder getUnsentMessagesFolder](in nsIMsgIdentity identity); Attributes Attribute Type Description msgWindow nsIMsgWindow Methods SendUnsentMessages() Sends all unsent messages for an identity. void SendUnsentMessages(in nsIMsgIdentity identity) Parameters identity The nsIMsgIdentity to send unsent messages for RemoveListener() Remove an event listener...
...veListener() Remove an event listener from this nsISendMsgLater instance void RemoveListener(in nsIMsgSendLaterListener listener); Parameters listener The nsIMsgSendLaterListener to remove. AddListener() Add an event listener to this nsISendMsgLater instance. void AddListener(in nsIMsgSendlaterListener listener); Parameters listener The nsIMsgSendLaterListener to add. getUnsentMessagesFolder() Get the unsent messages folder for an identity. nsIMsgFolder getUnsentMessagesFolder(in nsIMsgIdentity identity); Parameters identity The nsIMsgIdentity to get the folder for. Return Value The nsIMsgFolder containing unsent messages. ...
nsIMessenger
Mozilla › Tech › XPCOM › Reference › Interface › nsIMessenger
L(in ACString aURL); void loadURL(in nsIDOMWindow ptr, in ACString aURL); void launchExternalURL(in ACString aURL); boolean canUndo(); boolean canRedo(); unsigned long getUndoTransactionType(); unsigned long getRedoTransactionType(); void undo(in nsIMsgWindow msgWindow); void redo(in nsIMsgWindow msgWindow); void sendUnsentMessages(in nsIMsgIdentity aIdentity, in nsIMsgWindow aMsgWindow); void setDocumentCharset(in ACString characterSet); void saveAs(in ACString aURI, in boolean aAsFile, in nsIMsgIdentity aIdentity, in AString aMsgFilename); void openAttachment(in ACString contentTpe, in ACString url, in ACString displayName, in ACString messageUri, in boolean isExternalAttachment); ...
...ut unsigned long aCurPos, out unsigned long aCount, [array, size_is(aCount)] out string aHistory); Note: Prior to Gecko 8.0, all references to nsIDOMWindow used in this interface were nsIDOMWindow. Attributes Attribute Type Description transactionManager nsITransactionManager Readonly: The transaction manager for this nsIMessenger instance. sendingUnsentMsgs boolean Indicates if sending messages is in progress. lastDisplayedMessageUri ACString Readonly: The URL of the last displayed message. navigatePos long The current index in the navigation history. Constants Name Value Description eUnknown 0 Unknown transaction type. eDeleteMsg 1 Delete transaction type. ...
... type of the transaction. See #Constants for available types. undo() Performs the next undo transaction. void undo(in nsIMsgWindow msgWindow); Parameters msgWindow The nsIMsgWindow to perform the undo transaction on. redo() Performs the next redo transaction. void redo(in nsIMsgWindow msgWindow); Parameters msgWindow The nsIMsgWindow to perform the redo transaction on. sendUnsentMessages() Creates a nsIMsgSendLater instance and sends all messages for the given identity. void sendUnsentMessages(in nsIMsgIdentity aIdentity, in nsIMsgWindow aMsgWindow); Parameters aIdentity The nsIMsgIdentity to send messages for. aMsgWindow The nsIMsgWindow to get messages from. setDocumentCharset() Redisplay the currently selected message (if any) usi...
XMLHttpRequest.readyState - Web APIs
Web › API › XMLHttpRequest › readyState
The XMLHttpRequest.readyState property returns the state an XMLHttpRequest client is in. An XHR client exists in one of the following states: Value State Description 0 UNSENT Client has been created. open() not called yet. 1 OPENED open() has been called. 2 HEADERS_RECEIVED send() has been called, and headers and status are available. 3 LOADING Downloading; responseText holds partial data. 4 DONE The operation is complete. UNSENT The XMLHttpRequest client has been created, but the open() method hasn't been called yet. OPENED open() method has been invoked. During this state, the request headers can be set using the setRequestHeader() method and the send() method can be called which will initia...
...eaders have been received. LOADING Response's body is being received. If responseType is "text" or empty string, responseText will have the partial text response as it loads. DONE The fetch operation is complete. This could mean that either the data transfer has been completed successfully or failed. The state names are different in versions of Internet Explorer earlier than 11. ...
...er has been completed successfully or failed. The state names are different in versions of Internet Explorer earlier than 11. Instead of UNSENT, OPENED, HEADERS_RECEIVED, LOADING and DONE, the names READYSTATE_UNINITIALIZED (0), READYSTATE_LOADING (1), READYSTATE_LOADED (2), READYSTATE_INTERACTIVE (3) and READYSTATE_COMPLETE (4) are used. ...
XMLHttpRequest.statusText - Web APIs
Web › API › XMLHttpRequest › statusText
The read-only XMLHttpRequest.statusText property returns a DOMString containing the response's status message as returned by the HTTP server. Unlike XMLHTTPRequest.status which indicates a numerical status code, this property contains the text of the response status, such as "OK" or "Not Found". If the request's readyState is in UNSENT or OPENED state, the value of statusText will be an empty string. ...
...ch indicates a numerical status code, this property contains the text of the response status, such as "OK" or "Not Found". If the request's readyState is in UNSENT or OPENED state, the value of statusText will be an empty string. If the server response doesn't explicitly specify a status text, statusText will assume the default value "OK". ...
...ll assume the default value "OK". ...
Index - Web APIs
Web › API › Index
quest The XMLHttpRequest() constructor creates a new XMLHttpRequest. 5175 XMLHttpRequest.abort() AJAX, API, Abort XHR, Cancel XHR, HTTP, HttpRequest, Method, Reference, Stop XHR, XHR, XMLHttpRequest, abort, cancel, stop The XMLHttpRequest.abort() method aborts the request if it has already been sent. When a request is aborted, its readyState is changed to XMLHttpRequest.UNSENT (0) and the request's status code is set to 0. 5176 XMLHttpRequest.channel API, Non-standard, Property, Reference, XHR, XMLHttpRequest, channel, nsIChannel XMLHttpRequest.channel is an nsIChannel that used by the object when performing the request. This is null if the channel hasn't been created yet. In the case of a multi-part request, this is the initial channel, not the di...
...y, Read-only, Reference, XMLHttpRequest, XMLHttpRequest Status The read-only XMLHttpRequest.statusText property returns a DOMString containing the response's status message as returned by the HTTP server. Unlike XMLHTTPRequest.status which indicates a numerical status code, this property contains the text of the response status, such as "OK" or "Not Found". If the request's readyState is in UNSENT or OPENED state, the value of statusText will be an empty string. 5199 XMLHttpRequest.timeout AJAX, Asynchronous XHR, Asynchronous XMLHttpRequest, Property, Reference, XHR, XMLHttpRequest, timeout The XMLHttpRequest.timeout property is an unsigned long representing the number of milliseconds a request can take before automatically being terminated. The default value is 0, whi...
XMLHttpRequest.status - Web APIs
Web › API › XMLHttpRequest › status
The read-only XMLHttpRequest.status property returns the numerical HTTP status code of the XMLHttpRequest's response. Before the request completes, the value of status is 0. Browsers also report a status of 0 in case of XMLHttpRequest errors. ...
...s also report a status of 0 in case of XMLHttpRequest errors. ...
Index
Mozilla › Tech › XPCOM › Index
784 nsIMsgThread Interfaces, Interfaces:Scriptable, Message Database, Messages, NeedsContent, XPCOM API Reference, XPCOM Interface Reference, thunderbird The nsIMsgFolder interface is used to interact with threads in Thunderbird. 785 nsIMsgWindow Interfaces, Message Windows, NeedsContent, NeedsHelp, XPCOM API Reference, thunderbir...
nsMsgFolderFlagType
Mozilla › Tech › XPCOM › Reference › Interface › nsMsgFolderFlagType
ail bit set, and do * not have the nsMsgFolderFlags::Directory or * nsMsgFolderFlags::Elided bits set. * @{ */ /// Whether this is the trash folder. const nsMsgFolderFlagType Trash = 0x00000100; /// Whether this is a folder that sent mail gets delivered to. const nsMsgFolderFlagType SentMail = 0x00000200; /// Whether this is the folder in which unfinised, unsent messages are saved for later editing. const nsMsgFolderFlagType Drafts = 0x00000400; /// Whether this is the folder in which messages are queued for later delivery. const nsMsgFolderFlagType Queue = 0x00000800; /// Whether this is the primary inbox folder. const nsMsgFolderFlagType Inbox = 0x00001000; /// Whether this folder on online IMAP const nsMsgFo...
Using XMLHttpRequest - Web APIs
Web › API › XMLHttpRequest › Using XMLHttpRequest
d, even though it produces no warning and permission dialog is still presented. The recommended way to enable cross-site scripting is to use the Access-Control-Allow-Origin HTTP header in the response to the XMLHttpRequest. XMLHttpRequests being stopped If you conclude with an XMLHttpRequest receiving status=0 and statusText=null, this means the request was not allowed to be performed. It was UNSENT. A likely cause for this is when the XMLHttpRequest origin (at the creation of the XMLHttpRequest) has changed when the XMLHttpRequest is subsequently open(). This case can happen, for example, when one has an XMLHttpRequest that gets fired on an onunload event for a window, the expected XMLHttpRequest is created when the window to be closed is still there, and finally sending the request (in oth...
XMLHttpRequest.abort() - Web APIs
Web › API › XMLHttpRequest › abort
Syntax XMLHttpRequest.abort() Parameters None. Return value undefined Example This example begins loading content from the MDN home page, then due to some condition, aborts the transfer by calling abort(). ...