---
title: "Policy mode enum"
url: "https://help.internetx.com/en/api/core-policy-mode-enum/"
lang: "en"
section: "API reference — API reference (XML/JSON)"
breadcrumb: "API documentation (JSON/XML) > Enums and constants"
updated: "2023-09-26"
---

# Policy mode enum

## Description

Defines the treatment of infected mails.

## Possible values

-   QUARANTINE = The filtered out emails are moved to a quarantine folder. Every day an email is sent to the specified email address of the administrator. It informs about all emails that are in the quarantine folder. Via a link in the email you can access the quarantine folder and decide how you want to proceed with the email.
-   DISABLED = Virus protection is deactivated.
-   ACCEPT = The emails are accepted although they have been filtered out.
-   DISCARD = The emails are deleted.
