Le 2/18/21 à 2:08 PM, Darac Marjal a écrit :
What I use is: if envelope :detail :regex "to" "(.+)" { set :upperfirst :lower "detail" "${1}"; fileinto :create "Tagged/${detail}"; stop; }Which says "if the envelope detail is not empty, copy it to a variable called 'detail' and titlecase it, then file the message into Tagged/$detail, creating that if necessary". I think the most relevant part here is using a regex to match on the detail - that copies the value of the detail into $1, which you can then use as you see fit.
Excellent ! thanks for sharing. This was added to my info.txt file. Yassine -- admin sysweb.
