Description
When set, these optional constants will override settings for the SparkPost Integration in Gravity SMTP. Default values are shown.
Placement
Constants should be set in wp-config.php
.
Since
These constants were added in Gravity SMTP version 1.8.0
Constants
GRAVITYSMTP_SPARKPOST_ACCOUNT_LOCATION
Sets the SparkPost Account Location.
United States = us.
Europe = eu.
define( 'GRAVITYSMTP_SPARKPOST_ACCOUNT_LOCATION', 'us' );
GRAVITYSMTP_SPARKPOST_API_KEY
Sets the SparkPost API key.
define( 'GRAVITYSMTP_SPARKPOST_API_KEY', '' );
GRAVITYSMTP_SPARKPOST_ENABLED
Sets whether or not the SparkPost integration is enabled.
define( 'GRAVITYSMTP_SPARKPOST_FORCE_ENABLED', false );
GRAVITYSMTP_SPARKPOST_FORCE_FROM_EMAIL
Determines whether or not to force the from: email address for all outgoing messages sent via SparkPost.
define( 'GRAVITYSMTP_SPARKPOST_FORCE_FROM_EMAIL', false );
GRAVITYSMTP_SPARKPOST_FORCE_FROM_NAME
Determines whether or not to force the from: name for all outgoing messages sent via SparkPost.
define( 'GRAVITYSMTP_SPARKPOST_FORCE_FROM_NAME', false );
GRAVITYSMTP_SPARKPOST_FROM_EMAIL
Set the from: address associated with outgoing messages sent via SparkPost.
define( 'GRAVITYSMTP_SPARKPOST_FROM_EMAIL', '' );
GRAVITYSMTP_SPARKPOST_FROM_NAME
Set the from: name associated with outgoing messages sent via SparkPost.
define( 'GRAVITYSMTP_SPARKPOST_FROM_NAME', '' );