rf-web/vendor/bundle/gems/rouge-3.12.0/lib/rouge/demos/sieve

11 lines
193 B
Plaintext
Raw Normal View History

2019-10-21 08:18:17 +00:00
require "fileinto";
require "imap4flags";
if header :is "X-Spam" "Yes" {
fileinto "Junk";
setflag "\\seen";
stop;
}
/* Other messages get filed into Inbox or to user's scripts */