NKMailComposer
Overview
Composer is used to send e-mail messages without leaving the application and having content, subject and recipient pre-filled.
setSubject(subject)
sets mail composer subject
setRecipient(recipients)
sets recipients as e-mail addresses, can take many addresses at once divided by comma.
setBody(body)
sets the body of the message.
addImage(image)
adds image to composed e-mail, can be called multiple times to add many pictures. Image parameter is an instance of NKImage class.
show()
shows modal mail composer on top of application pages, call this after you already filled all fields you need (like subject, body or recipient).
Example:
function showComposer()
{
var composer = new NKMailComposer();
composer.setRecipient("a.voloshyn@gmail.com, voloshyn@me.com");
composer.setSubject("subject");
composer.setBody("message body");
composer.show();
}

