Mailgun Constants

Description

When set, these optional constants will override settings for the Mailgun integration in Gravity SMTP. Default values are shown.

Placement

Constants should be set in wp-config.php.

Constants

GRAVITYSMTP_MAILGUN_API_KEY

Identifies the key used to authenticate with the Mailgun API.

define( 'GRAVITYSMTP_MAILGUN_API_KEY', '' );

GRAVITYSMTP_MAILGUN_REGION

Identifies the service region from which messages will originate.

define( 'GRAVITYSMTP_MAILGUN_REGION', 'us' ); // accepts (us, eu)

GRAVITYSMTP_MAILGUN_FROM_EMAIL

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

define( 'GRAVITYSMTP_MAILGUN_FROM_EMAIL', '' );

GRAVITYSMTP_MAILGUN_FORCE_FROM_EMAIL

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

define( 'GRAVITYSMTP_MAILGUN_FORCE_FROM_EMAIL', false );

GRAVITYSMTP_MAILGUN_FROM_NAME

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

define( 'GRAVITYSMTP_MAILGUN_FROM_NAME', '' );

GRAVITYSMTP_MAILGUN_FORCE_FROM_NAME

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

define( 'GRAVITYSMTP_MAILGUN_FROM_NAME', false );

GRAVITYSMTP_MAILGUN_DOMAIN

Identifies the verified domain from which messages will be sent via Mailgun.

define( 'GRAVITYSMTP_MAILGUN_DOMAIN', '' );

GRAVITYSMTP_MAILGUN_ENABLED

Sets whether or not the Postmark integration is enabled.

define( 'GRAVITYSMTP_MAILGUN_ENABLED', false );