Description
When set, these optional constants will override settings for the SendGrid 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.0
Constants
GRAVITYSMTP_SENDGRID_API_KEY
Identifies the key used to authenticate with the SendGrid API.
define( 'GRAVITYSMTP_SENDGRID_API_KEY', '' );
GRAVITYSMTP_SENDGRID_FROM_EMAIL
Set the from: address associated with outgoing messages sent via SendGrid.
define( 'GRAVITYSMTP_SENDGRID_FROM_EMAIL', '' );
GRAVITYSMTP_SENDGRID_FORCE_FROM_EMAIL
Determines whether or not to force the from: email address for all outgoing messages sent via SendGrid.
define( 'GRAVITYSMTP_SENDGRID_FORCE_FROM_EMAIL', false );
GRAVITYSMTP_SENDGRID_FROM_NAME
Set the from: name associated with outgoing messages sent via SendGrid.
define( 'GRAVITYSMTP_SENDGRID_FROM_NAME', '' );
GRAVITYSMTP_SENDGRID_FORCE_FROM_EMAIL
Determines whether or not to force the from: email address for all outgoing messages sent via SendGrid.
define( 'GRAVITYSMTP_SENDGRID_FORCE_FROM_EMAIL', false );
GRAVITYSMTP_SENDGRID_ENABLED
Sets whether or not the SendGrid integration is enabled.
define( 'GRAVITYSMTP_SENDGRID_ENABLED', false );