Description
When set, these optional constants will override settings for the MailerSend 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_MAILERSEND_API_KEY
Sets the MailerSend API token.
define( 'GRAVITYSMTP_MAILERSEND_API_KEY', '' );
GRAVITYSMTP_MAILERSEND_DEFAULT_FROM_EMAIL
Set the from: address associated with outgoing messages sent via MailerSend.
define( 'GRAVITYSMTP_MAILERSEND_FORCE_FROM_EMAIL', '' );
GRAVITYSMTP_MAILERSEND_FORCE_FROM_EMAIL
Determines whether or not to force the from: email address for all outgoing messages sent via MailerSend.
define( 'GRAVITYSMTP_MAILERSEND_FORCE_FROM_EMAIL', false );
GRAVITYSMTP_MAILERSEND_FROM_NAME
Set the from: name associated with outgoing messages sent via MailerSend.
define( 'GRAVITYSMTP_MAILERSEND_FORCE_FROM_NAME', '' );
GRAVITYSMTP_MAILERSEND_FORCE_FROM_NAME
Determines whether or not to force the from: name for all outgoing messages sent via MailerSend.
define( 'GRAVITYSMTP_MAILERSEND_FORCE_FROM_NAME', false );
GRAVITYSMTP_MAILERSEND_ENABLED
Sets whether or not the MailerSend integration is enabled.
define( 'GRAVITYSMTP_MAILERSEND_FORCE_ENABLED', false );