(feat) can now send out MDN responses

This commit is contained in:
Ludovic Marcotte
2015-07-08 13:19:16 -04:00
parent f369eabd06
commit 02112dea8a
2 changed files with 27 additions and 0 deletions
@@ -310,6 +310,16 @@
});
};
/**
* @function $sendMDN
* @memberof Message.prototype
* @desc Send MDN response for current email message
*/
Message.prototype.$sendMDN = function() {
this.shouldAskReceipt = 0;
return Message.$$resource.post(this.id, 'sendMDN');
}
/**
* @function $deleteAttachment
* @memberof Message.prototype