Constants
Articles
GRAVITYSMTP_EVENT_LOG_RETENTION
The GRAVITYSMTP_EVENT_LOG_RETENTION constant in Gravity SMTP defines the number of days to retain logs.
GRAVITYSMTP_LICENSE_KEY
The GRAVITYSMTP_LICENSE_KEY constant in Gravity SMTP automatically pre-populates your Gravity SMTP license key.
GRAVITYSMTP_MAX_EVENT_RECORDS
Setting this constant will define the maximum number of records stored by email logging as part of the log retention settings.
GRAVITYSMTP_SAVE_ATTACHMENTS_ENABLED
Setting this constant will enable or disable the save attachments feature in Gravity SMTP.
GRAVITYSMTP_SAVE_EMAIL_BODY_ENABLED
Setting this constant will enable or disable the save email body feature in Gravity SMTP
GRAVITYSMTP_TEST_MODE
The GRAVITYSMTP_TEST_MODE constant in Gravity SMTP enables or disables test mode.
Mailchimp Transactional Constants
Constants available for the Mailchimp Transactional integration.
Mailgun Constants
Constants available for the Mailgun Integration.
Microsoft Constants
When set, these optional constants will override settings for the Microsoft 365 / Outlook Integration in Gravity SMTP.
PHP Mail Constants
Constants available for the PHP Mail integration.