API2 Email::storefilter No valid rules.
Hello,
I am trying to setup email forwarder with filter (to not leave copy on server).
When submitting these values:
Array
(
[account] =>
[action] => deliver
[dest] => to@mail.com
[filtername] => account@mail.com
[match] => matches
[part] => $header_to:
[val] => account@mail.com
)
Response from the API is: No valid rules.
Any ideas?om the API is: No valid rules.
Any ideas?
Thank you.
[COLOR="silver">- - - Updated - - -
Figured it out myself.
Although API doc clearly states:
[QUOTE]Specify an incremental version of this parameter only if you wish the filter to take more than one action.
You still need use numbered version: Array ( [account] => [action1] => deliver [dest1] => to@mail.com [filtername] => account@mail.com [match1] => matches [part1] => $header_to: [val1] => account@mail.com )
You still need use numbered version: Array ( [account] => [action1] => deliver [dest1] => to@mail.com [filtername] => account@mail.com [match1] => matches [part1] => $header_to: [val1] => account@mail.com )
-
I am happy to see you were able to resolve the issue. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
1 comment