Added Sieve rfc5490

Renamed tests classes *Command as *Test
This commit is contained in:
the-djmaze 2022-03-14 12:39:11 +01:00
parent 40adf992ed
commit 668a5f1fa5
12 changed files with 224 additions and 57 deletions

View file

@ -102,6 +102,10 @@ export class FileIntoCommand extends GrammarCommand
toString()
{
// https://datatracker.ietf.org/doc/html/rfc3894
// :copy
// https://datatracker.ietf.org/doc/html/rfc5490#section-3.2
// :create
return 'fileinto ' + this._mailbox + ';';
}
@ -137,6 +141,8 @@ export class RedirectCommand extends GrammarCommand
toString()
{
// https://datatracker.ietf.org/doc/html/rfc3894
// :copy
return 'redirect ' + this._address + ';';
}