mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-09 00:08:18 +08:00
28 lines
464 B
JavaScript
28 lines
464 B
JavaScript
/**
|
|
* https://tools.ietf.org/html/rfc5173
|
|
*/
|
|
|
|
(Sieve => {
|
|
|
|
Sieve.Extensions.Body = class
|
|
{
|
|
constructor()
|
|
{
|
|
this.comparator = 'i;ascii-casemap',
|
|
this.match_type = ':is',
|
|
this.body_transform = ''; // :raw, :content <string-list>, :text
|
|
this.key_list = new Sieve.Grammar.StringList;
|
|
}
|
|
|
|
toString()
|
|
{
|
|
return 'body'
|
|
// + ' ' + this.comparator
|
|
+ ' ' + this.match_type
|
|
+ ' ' + this.body_transform
|
|
+ ' ' + this.key_list;
|
|
}
|
|
};
|
|
|
|
})(this.Sieve);
|
|
|