2 Test of Sieve body extension (RFC5173)
6 include '../lib/rcube_sieve_script.php';
9 require ["body","fileinto"];
10 if body :raw :contains "MAKE MONEY FAST"
14 if body :content "text" :contains ["missile","coordinates"]
18 if body :content "audio/mp3" :contains ""
22 if body :text :contains "project schedule"
24 fileinto "project/schedule";
28 $s = new rcube_sieve_script($txt);
33 require ["body","fileinto"];
34 if body :raw :contains "MAKE MONEY FAST"
38 if body :content "text" :contains ["missile","coordinates"]
42 if body :content "audio/mp3" :contains ""
46 if body :text :contains "project schedule"
48 fileinto "project/schedule";