summaryrefslogtreecommitdiff
path: root/plugins/managesieve/tests/src/parser_body
blob: bd142ed8cc58b1fec43ef368fd2214049e4a8743 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require ["body","fileinto"];
if body :raw :contains "MAKE MONEY FAST"
{
	stop;
}
if body :content "text" :contains ["missile","coordinates"]
{
	fileinto "secrets";
}
if body :content "audio/mp3" :contains ""
{
	fileinto "jukebox";
}
if body :text :contains "project schedule"
{
	fileinto "project/schedule";
}