Sieve-Example:Notify: Difference between revisions

mNo edit summary
mNo edit summary
 
[[File:Sieve-roundcube-notify.png]]
 
<syntaxhighlight>
# rule:[notify]
if header :matches "subject" "*"
{
set "subject" "${1}";
notify :importance "2" :message "[Notification] ${subject}" "mailto:someone@example.com";
}
</syntaxhighlight>
 
This sets a variable of the subject, and then sends an email to another mailbox using the subject line.