Page MenuHomePhorge

parser_enotify_b
No OneTemporary

Size
379 B
Referenced Files
None
Subscribers
None

parser_enotify_b

require ["envelope","variables","enotify"];
# rule:[from]
if envelope :all :matches "from" "*"
{
set "env_from" " [really: ${1}]";
}
# rule:[subject]
if header :matches "Subject" "*"
{
set "subject" "${1}";
}
# rule:[from notify]
if address :all :matches "from" "*"
{
set "from_addr" "${1}";
notify :message "${from_addr}${env_from}: ${subject}" "mailto:alm@example.com";
}

File Metadata

Mime Type
text/plain
Expires
Fri, Jun 12, 3:16 AM (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
901769
Default Alt Text
parser_enotify_b (379 B)

Event Timeline