10 Feb
2016
10 Feb
'16
11:55 a.m.
Op 10-2-2016 om 10:30 schreef @lbutlr:
On Feb 10, 2016, at 12:18 AM, A.L.E.C alec@alec.pl wrote:
require ["copy"] if header :contains “from” “test@example.com” { redirect :copy “user1@example.com”; redirect “user2@example.com”; } <sound of penny dropping>
Ah, right, that makes sense. Thanks.
The copy extension is not needed here. The redirect action is explicit and will not be affected by cancellation of the implicit keep in the absence of ":copy".
Just keep in mind that the total number of redirects is limited (subject to configuration).
Regards,
Stephan.