mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-09 01:17:04 +03:00
implement the ForceUnspam sieve action
This commit is contained in:
parent
4fc04648cf
commit
c3c15ace16
43 changed files with 62 additions and 3 deletions
|
|
@ -139,6 +139,10 @@ function filtersToSieveScript(filters)
|
|||
case 'Discard':
|
||||
result.push(sTab + 'discard;');
|
||||
break;
|
||||
case 'ForceUnspam':
|
||||
require.fileinto = 1;
|
||||
result.push(sTab + 'fileinto "INBOX";');
|
||||
break;
|
||||
case 'Vacation':
|
||||
if (value) {
|
||||
require.vacation = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue