Page MenuHomePhorge

parser_notify_b
No OneTemporary

Size
367 B
Referenced Files
None
Subscribers
None

parser_notify_b

require ["envelope","notify","variables"];
# rule:[from]
if envelope :matches "from" "*"
{
set "env_from" " [really: ${1}]";
}
# rule:[subject]
if header :matches "Subject" "*"
{
set "subject" "${1}";
}
# rule:[from notify]
if address :matches "from" "*"
{
set "from_addr" "${1}";
notify :message "${from_addr}${env_from}: ${subject}" :method "sms:1234567890";
}

File Metadata

Mime Type
text/plain
Expires
Thu, Apr 9, 2:46 PM (17 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
529191
Default Alt Text
parser_notify_b (367 B)

Event Timeline