The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

API2 listforwards - question about parameters of the function

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

  1. sherwin_flight

    Joined:
    Nov 10, 2013
    Messages:
    6
    Likes Received:
    1
    Trophy Points:
    3
    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?
     
Loading...

Share This Page