Get current compose details

Purpose

This command is used to get the details of the current email being compose

Request URL 

Using the get current compose details will return information about the email currently being composed. This can be done by using the "On compose open" event.

clientsdk.get(["currentComposeMailInfo"]).then(resp=>{console.log(resp);});

Response Parameters

ParameterDescription
contentContent of the email being composed
subjectSubject of the email being composed
emailidsEmail IDs of all recipients

Sample Response


				{
"content": "<meta /><div><div style="font-size: 12pt; font-family: Georgia, Times New Roman, Times, serif"><div>Hi Paula,<br /></div><div><br /></div><div>This is in continuation to our discussion about the upcoming website design.<br /></div><div><br /></div><div>I have attached with this email some design ideas that my team has come up with.<br /></div><div><br /></div><div><br /></div><div><br /></div><div>Regards<br /></div><div>Rebecca</div><div><br /></div></div><br /></div>",
"emailIds": ["paula@zylker.com", "charles@zylker.com"],
"subject": "Website design"
}