16 Nov
2018
16 Nov
'18
3:53 p.m.
Op 15-11-2018 om 23:54 schreef Bambero:
Hi,
I want to send notification like this:
if body :text :matches "*" { notify :importance "3" :message "[NOTIFY] ${1}" "mailto:test@example mailto:test@example,com"; }
The notification works but the variable ${1} seems to be empty.
But in this case:
if header :matches "Subject" "*" { notify :importance "3" :message "[NOTIFY] ${1}" "mailto:test@example mailto:test@example,com"; }
Everything works correct.
https://tools.ietf.org/html/rfc5173#section-6
Use the extracttext extension instead:
https://tools.ietf.org/html/rfc5703#section-7
Regards,
Stephan.