How do I view the current email forwarding configuration programmatically?

To view the current email forwarding configuration, you need to access the Zimbra web home page with an authenticated `ZM_AUTH_TOKEN` cookie and parse the response for the string `zimbraPrefMailForwardingAddress`. If present, you can extract the forwarding address using a regular expression. This method is covered in the [Zimbra SOAP API Development Guide 5 - Email Forwarding](/news/zimbra-soap-api-development-guide-5-email-forwarding) and builds on previous techniques from [Zimbra SOAP API Development Guide](/news/zimbra-soap-api-development-guide).