Elastic Email Constants

Description

When set, these optional constants will override settings for the Elastic Email 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 1.7.0

Constants

GRAVITYSMTP_ELASTIC_EMAIL_ACTIVE

Sets whether or not the Elastic Email integration is active.

define( 'GRAVITYSMTP_ELASTIC_EMAIL_FORCE_ACTIVE', false );

GRAVITYSMTP_ELASTIC_EMAIL_API_KEY

Sets the Elastic Email API key.

define( 'GRAVITYSMTP_ELASTIC_EMAIL_API_KEY', '' );

GRAVITYSMTP_ELASTIC_EMAIL_ENABLED

Sets whether or not the Elastic Email integration is enabled.

define( 'GRAVITYSMTP_ELASTIC_EMAIL_FORCE_ENABLED', false );

GRAVITYSMTP_ELASTIC_EMAIL_CONFIGURED

Sets whether or not the Elastic Email integration is configured.

define( 'GRAVITYSMTP_ELASTIC_EMAIL_FORCE_CONFIGURED', false );

GRAVITYSMTP_ELASTIC_EMAIL_FORCE_FROM_EMAIL

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

define( 'GRAVITYSMTP_ELASTIC_EMAIL_FORCE_FROM_EMAIL', false );

GRAVITYSMTP_ELASTIC_EMAIL_FORCE_FROM_NAME

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

define( 'GRAVITYSMTP_ELASTIC_EMAIL_FORCE_FROM_NAME', false );

GRAVITYSMTP_ELASTIC_EMAIL_FROM_EMAIL

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

define( 'GRAVITYSMTP_ELASTIC_EMAIL_FROM_EMAIL', '' );

GRAVITYSMTP_ELASTIC_EMAIL_FROM_NAME

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

define( 'GRAVITYSMTP_ELASTIC_EMAIL_FORCE_FROM_NAME', '' );