Compose an email

Purpose

This command is used to perform actions associated with composing an email.

Request URL 

Compose new mail

This command can be used to compose a new email with the provided details like To, Subject, Content etc

clientsdk.dispatch({}).then(function(mailObj){ });

Insert mail content

This command is used to insert content into a new email or into an email you are already composing.

clientsdk.dispatch("compose", { mode: "insert", mailData:"Hi" });

Compose new mail

Copiedclientsdk.dispatch("compose", { mailData: { SUBJECT:"Sales Pitch", TO:"charles@zylker.com", CC : "paula@zylker.com" CONTENT: "Hi, This is regarding the sales pitch we had discussed about previously." }}).then(function(mailObj){ });

Insert mail content

Copiedclientsdk.dispatch("compose", { mode: "insert", mailData:"Hi, This is regarding the sales pitch we had discussed about previously." });