Mail Preview Event

Purpose

This event command can be used to trigger an action such as compose mail or get details, on the occurrence of the mentioned event (on mail preview).

Request URL 

clientsdk.on("mail_preview")

 

Sample Request


				clientsdk.on("mail_preview", function(mailObj) {clientsdk.get(["mailInfo","msgId"]).then(function(mailObj){console.log(mailObj); });})