Aleksander Machniak
2013-10-17 037af6890fe6fdb84a08d3c86083e847c90ec0ad
plugins/managesieve/tests/src/parser_notify_a
@@ -1,8 +1,8 @@
require ["enotify","variables"];
require ["notify","variables"];
# rule:[notify1]
if header :contains "from" "boss@example.org"
{
   notify :importance "1" :message "This is probably very important" "mailto:alm@example.com";
   notify :low :message "This is probably very important";
   stop;
}
# rule:[subject]
@@ -14,6 +14,5 @@
if header :matches "From" "*"
{
   set "from" "${1}";
   notify :importance "3" :message "${from}: ${subject}" "mailto:alm@example.com";
   notify :high :message "${from}: ${subject}" :method "mailto:test@example.org";
}