Search completed in 1.21 seconds.
11 results for "UNSENT":
nsIMsgSendLater
the nsimsgsendlater interface provides functions for managing the
unsent folder of a messaging account.
...to create an instance, use var msgsendlater = components.classes["@mozilla.org/messengercompose/sendlater;1"] .getservice(components.interfaces.nsimsgsendlater); method overview void send
unsentmessages(in nsimsgidentity identity); void removelistener(in nsimsgsendlaterlistener listener); void addlistener(in nsimsgsendlaterlistener listener); nsimsgfolder get
unsentmessagesfolder](in nsimsgidentity identity); attributes attribute type description msgwindow nsimsgwindow methods send
unsentmessages() sends all
unsent messages for an identity.
... void send
unsentmessages(in nsimsgidentity identity) parameters identity the nsimsgidentity to send
unsent messages for removelistener() remove an event listener from this nsisendmsglater instance void removelistener(in nsimsgsendlaterlistener listener); parameters listener the nsimsgsendlaterlistener to remove.
...And 3 more matches
Mail composition back end
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.
...this will store messages in the user defined "
unsent messages or drafts" folder.
... sending
unsent messages the back end has the ability to send all messages that are currently stored in the user defined "
unsent messages or drafts" folder.
...And 3 more matches
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 send
unsentmessages(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); ...
... sending
unsentmsgs boolean indicates if sending messages is in progress.
... send
unsentmessages() creates a nsimsgsendlater instance and sends all messages for the given identity.
... void send
unsentmessages(in nsimsgidentity aidentity, in nsimsgwindow amsgwindow); parameters aidentity the nsimsgidentity to send messages for.
XMLHttpRequest.readyState - Web APIs
an xhr client exists in one of the following states: value state description 0
unsent client has been created.
...
unsent the xmlhttprequest client has been created, but the open() method hasn't been called yet.
...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.
... example var xhr = new xmlhttprequest(); console.log('
unsent', xhr.readystate); // readystate will be 0 xhr.open('get', '/api', true); console.log('opened', xhr.readystate); // readystate will be 1 xhr.onprogress = function () { console.log('loading', xhr.readystate); // readystate will be 3 }; xhr.onload = function () { console.log('done', xhr.readystate); // readystate will be 4 }; xhr.send(null); specifications specification status comment xmlhttprequest living standard whatwg living standard ...
Index - Web APIs
when a request is aborted, its readystate is changed to xmlhttprequest.
unsent (0) and the request's status code is set to 0.
...if the request's readystate is in
unsent or opened state, the value of statustext will be an empty string.
XMLHttpRequest.statusText - Web APIs
if the request's readystate is in
unsent or opened state, the value of statustext will be an empty string.
... example var xhr = new xmlhttprequest(); console.log('0
unsent', xhr.statustext); xhr.open('get', '/server', true); console.log('1 opened', xhr.statustext); xhr.onprogress = function () { console.log('3 loading', xhr.statustext); }; xhr.onload = function () { console.log('4 done', xhr.statustext); }; xhr.send(null); /** * outputs the following: * * 0
unsent * 1 opened * 3 loading ok * 4 done ok */ specifications specification status comment xmlhttprequest living standard whatwg living standard ...
Index
783 nsimsgsendlater interfaces, interfaces:scriptable, xpcom, xpcom interface reference, thunderbird the nsimsgsendlater interface provides functions for managing the
unsent folder of a messaging account.
nsMsgFolderFlagType
const nsmsgfolderflagtype sentmail = 0x00000200; /// whether this is the folder in which unfinised,
unsent messages are saved for later editing.
XMLHttpRequest.status - Web APIs
example var xhr = new xmlhttprequest(); console.log('
unsent: ', xhr.status); xhr.open('get', '/server'); console.log('opened: ', xhr.status); xhr.onprogress = function () { console.log('loading: ', xhr.status); }; xhr.onload = function () { console.log('done: ', xhr.status); }; xhr.send(); /** * outputs the following: * *
unsent: 0 * opened: 0 * loading: 200 * done: 200 */ specifications specification status comment xmlhttprequest living standard whatwg living standard ...