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

# Greylisting mode enum

## Description

Enable or disable greylisting. If greylisting is activated, the first email from an unknown sender will be rejected at first. Mails from this sender will only be accepted after a further delayed delivery attempt.

## Possible values

For XML:

-   ENABLED = activated
-   DISABLED = deactivated

For JSON:

-   TRUE= activated
-   FALSE= deactivated

Please note that the greylisting may cause a time delay in the delivery of emails.
