Class ZmComposeController
Class Detail
ZmComposeController(container, mailApp, type, sessionId)
Creates a new compose controller to manage message composition.
Author: Conrad Damon.
Field Detail
<static>
ZmComposeController.DRAFT_TYPE_AUTO
Defines the "auto" draft type reason.
<static>
ZmComposeController.DRAFT_TYPE_DELAYSEND
Defines the "delaysend" draft type reason.
<static>
ZmComposeController.DRAFT_TYPE_MANUAL
Defines the "manual" draft type reason.
<static>
ZmComposeController.DRAFT_TYPE_NONE
Defines the "none" draft type reason.
Method Detail
detach()
Detaches compose view to child window.
doAction(params, action, inNewWindow, msg, toOverride, ccOverride, subjOverride, extraBodyText, callback, accountName, accountName, hideView)
Begins a compose session by presenting a form to the user.
{ZmMailMsg}
getMsg()
Return ZmMailMsg object
{String}
getSelectedSignature()
Gets the selected signature.
initComposeView()
Creates a new ZmComposeView if one does not already exist
<static>
ZmComposeController.readFilesAsDataURL(files, callback, errorCallback)
Read files in DataURL Format and execute the callback with param dataURLArray.
dataURLArray is an array of objects, with each object containing name, type, size and data in data-url format for an file.
resetSignatureToolbar(selected, account)
Resets the signature dropdown based on the given account and selects the
given signature if provided.
sendDocs(docIds, draftType, callback, contactId)
Sends the message represented by the content of the compose view with specified docIds as attachment.
sendMsg(attId, draftType, callback, processImages, processImages)
Sends the message represented by the content of the compose view.
setSelectedSignature(value)
Gets the selected signature.
toggleSpellCheckButton(selected)
Toggles the spell check button.
|
||||||||||||||||||||||||||||||||||||||
Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:35 GMT-0400 (EDT)
|