Cloudflare Email Constants

Description

When set, these optional constants will override settings for the Cloudflare integration in Gravity SMTP. Default values are shown.

Placement

Constants should be set in wp-config.php.

Since

This constant was added in Gravity SMTP version 2.2

Constants

GRAVITYSMTP_CLOUDFLARE_ACTIVE

Sets whether or not the Cloudflare integration is active.

define( 'GRAVITYSMTP_CLOUDFLARE_ACTIVE', false );

GRAVITYSMTP_CLOUDFLARE_ACCOUNT_ID

Identifies the Cloudflare Account ID used to authenticate with the Cloudflare Email Service API.

define( 'GRAVITYSMTP_CLOUDFLARE_ACCOUNT_ID', '' );

GRAVITYSMTP_CLOUDFLARE_API_TOKEN

Identifies the API Token used to authenticate with the Cloudflare Email Service API.

define( 'GRAVITYSMTP_CLOUDFLARE_API_TOKEN', '' );

GRAVITYSMTP_CLOUDFLARE_CONFIGURED

Sets whether or not the Cloudflare integration is configured.

define( 'GRAVITYSMTP_CLOUDFLARE_CONFIGURED', false );

GRAVITYSMTP_CLOUDFLARE_ENABLED

Sets whether or not the Cloudflare integration is enabled.

define( 'GRAVITYSMTP_CLOUDFLARE_ENABLED', false );

GRAVITYSMTP_CLOUDFLARE_FORCE_FROM_EMAIL

Determines whether or not to force the from: email address for all outgoing messages sent via Cloudflare.

define( 'GRAVITYSMTP_CLOUDFLARE_FORCE_FROM_EMAIL', false );

GRAVITYSMTP_CLOUDFLARE_FORCE_FROM_NAME

Determines whether or not to force the from: name for all outgoing messages sent via Cloudflare.

define( 'GRAVITYSMTP_CLOUDFLARE_FORCE_FROM_NAME', false );

GRAVITYSMTP_CLOUDFLARE_FORCE_REPLY_TO_EMAIL

Determines whether or not to force the reply-to-email: via Cloudflare.

define( 'GRAVITYSMTP_CLOUDFLARE_FORCE_REPLY_TO_EMAIL', false );

GRAVITYSMTP_CLOUDFLARE_FROM_EMAIL

Set the from: address associated with outgoing messages sent via Cloudflare.

define( 'GRAVITYSMTP_CLOUDFLARE_FROM_EMAIL', '' );

GRAVITYSMTP_CLOUDFLARE_FROM_NAME

Set the from: name associated with outgoing messages sent via Cloudflare.

define( 'GRAVITYSMTP_CLOUDFLARE_FROM_NAME', '' );

GRAVITYSMTP_CLOUDFLARE_REPLY_TO_EMAIL

Set the reply-to-email: associated with outgoing messages sent via Cloudflare.

define( 'GRAVITYSMTP_CLOUDFLARE_REPLY_TO_EMAIL', '' );