Added: DKIM status

This commit is contained in:
RainLoop Team 2015-01-13 03:24:08 +04:00
parent c6db99d53b
commit 9bc977cccf
10 changed files with 239 additions and 7 deletions

View file

@ -563,6 +563,21 @@
return MessageModel.emailsToLine(this.from, bFriendlyView, bWrapWithLink);
};
/**
* @return {string}
*/
MessageModel.prototype.fromDkimData = function ()
{
var aResult = ['none', ''];
if (Utils.isNonEmptyArray(this.from) && 1 === this.from.length &&
this.from[0] && this.from[0].dkimStatus)
{
aResult = [this.from[0].dkimStatus, this.from[0].email];
}
return aResult;
};
/**
* @param {boolean} bFriendlyView
* @param {boolean=} bWrapWithLink = false