Page MenuHomePhorge

parser_notify_b
No OneTemporary

Size
395 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 :method "sms" :options "1234567890" :message "${from_addr}${env_from}: ${subject}";
}

File Metadata

Mime Type
text/plain
Expires
Mon, Aug 17, 11:39 AM (21 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1238414
Default Alt Text
parser_notify_b (395 B)

Event Timeline