mail-server/tests/resources/jmap_sieve/test_notify_fcc.sieve
2023-04-19 15:09:37 +00:00

14 lines
377 B
Sieve

require ["enotify", "fcc", "mailbox", "editheader", "imap4flags"];
if header :matches "Subject" "*TPS*" {
notify :message "It's time to file your TPS report."
:fcc "Notifications" :create
"mailto:sms_gateway@example.com?subject=It's%20TPS-o-clock";
deleteheader "Subject";
addheader "Subject" "${1}**censored**${2}";
setflag "$seen";
}
keep;