Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

API2 listforwards - question about parameters of the function

Discussion in 'cPanel Developers' started by sherwin_flight, Nov 10, 2013.

  1. sherwin_flight

    Nov 10, 2013
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Reseller Owner
    I have implemented some cPanel API commands in a script I am working on.

    When I call the function without the optional REGEX string, I get a complete listing of forwarders, as expected.

    I tried adding in a REGEX string to match an e-mail address, and it worked, but was matching against the value in the 'dest' field. Is there any way to run a REGEX match on the 'forward' field instead?

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice