Hello all!
I am using the web interface of
Roundcube 1.3.0. I want to create a filter to vacation message. I have tested these options:
CAPTURE E-MAIL SUBJECTIn my filter I wrote the rule (capture all the string):
Subject | matches regular expression | (.*)Later, in the actions to execute, I create and set a new variable:
Variable name:
asuntoVariable value:
${1}And in my reply body message I used the created variable. For example:
Message subject:
Automatic reply ${asunto}It works OK
CAPTURE RECEPTION DATEThe procedure is similar (now there are two capture groups in the regex):
Current date | date (yyyy-mm-dd) | matches regular expression | [0-9]{4}-([0-9]{2})-([0-9]{2})My variable gets month and day:
Variable name:
fechaVariable value:
${2} ${1}I can use it without problem with
${fecha}.
It works OK
THE QUESTION IS...Could I use two regular expressions to get both Subject and current date from incoming e-mails?I tested this configuration (attached image).
(https://www.roundcubeforum.net/index.php?action=dlattach;topic=25059.0;attach=2263;image)
Thank you very much!
;)