Description
When set, these optional constants will override settings for the Mailtrap 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_MAILTRAP_ACTIVE
Sets whether or not the Mailtrap integration is active.
define( 'GRAVITYSMTP_MAILTRAP_ACTIVE', false );
GRAVITYSMTP_MAILTRAP_API_KEY
Sets the Mailtrap API key.
define( 'GRAVITYSMTP_MAILTRAP_API_KEY', '' );
GRAVITYSMTP_MAILTRAP_CONFIGURED
Sets whether or not the Mailtrap integration is configured.
define( 'GRAVITYSMTP_MAILTRAP_CONFIGURED', false );
GRAVITYSMTP_MAILTRAP_ENABLED
Sets whether or not the Mailtrap integration is enabled.
define( 'GRAVITYSMTP_MAILTRAP_ENABLED', false );
GRAVITYSMTP_MAILTRAP_FORCE_FROM_EMAIL
Determines whether or not to force the from: email address for all outgoing messages sent via Mailtrap.
define( 'GRAVITYSMTP_MAILTRAP_FORCE_FROM_EMAIL', false );
GRAVITYSMTP_MAILTRAP_FORCE_FROM_NAME
Determines whether or not to force the from: name for all outgoing messages sent via Mailtrap.
define( 'GRAVITYSMTP_MAILTRAP_FORCE_FROM_NAME', false );
GRAVITYSMTP_MAILTRAP_FORCE_REPLY_TO_EMAIL
Determines whether or not to force the reply-to-email: for all outgoing messages sent via Mailtrap.
define( 'GRAVITYSMTP_MAILTRAP_FORCE_REPLY_TO_EMAIL', false );
GRAVITYSMTP_MAILTRAP_FROM_EMAIL
Sets the from: address associated with outgoing messages sent via Mailtrap.
define( 'GRAVITYSMTP_MAILTRAP_FROM_EMAIL', '' );
GRAVITYSMTP_MAILTRAP_FROM_NAME
Sets the from: name associated with outgoing messages sent via Mailtrap.
define( 'GRAVITYSMTP_MAILTRAP_FROM_NAME', '' );
GRAVITYSMTP_MAILTRAP_REPLY_TO_EMAIL
Sets the reply-to-email: associated with outgoing messages sent via Mailtrap.
define( 'GRAVITYSMTP_MAILTRAP_REPLY_TO_EMAIL', '' );
GRAVITYSMTP_MAILTRAP_SANDBOX_MODE
Sets whether or not Mailtrap sandbox mode is enabled. When enabled, emails are routed to the Mailtrap sandbox instead of real recipients.
define( 'GRAVITYSMTP_MAILTRAP_SANDBOX_MODE', false );
GRAVITYSMTP_MAILTRAP_SANDBOX_INBOX_ID
Sets the Mailtrap sandbox inbox ID. Required when sandbox mode is enabled.
define( 'GRAVITYSMTP_MAILTRAP_SANDBOX_INBOX_ID', '' );