Using cPanel API store_filter with .NET Http class, but getting "No Valid Rules" error response
I am trying to create a filter with cPanel API. The filter should redirect any email received to another email address.
I am using the cPanel API Email/store_filter function. And I am trying to follow the documentation at: }
I don't know what I am doing wrong. Where am I not following the documentation? Is there a simpler or better way to use store_filter to get all email sent to filter_acct-@assigned-email-manager.com to redirect to inbox@assigned-email-manager.com?
I don't know what I am doing wrong. Where am I not following the documentation? Is there a simpler or better way to use store_filter to get all email sent to filter_acct-@assigned-email-manager.com to redirect to inbox@assigned-email-manager.com?
-
I don't know why, but this worked without errors. I checked the email box filters and it redirected the email as desired. ?account=filter_acct@assigned-email-manager.com&filtername=ToInbox&val1=filter_acct@assigned-email-manager.com&match1=is&opt1=or&part1=foranyaddress $h_to:,$h_cc:&dest1=inbox@assigned-email-manager.com&action1=deliver
0 -
I'm glad you found a working solution - I'll see if @cPanelThomas has any ideas! 0
Please sign in to leave a comment.
Comments
2 comments