Developer
Hooks
This category contains the available hooks that are available to developers within Gravity SMTP in order to extend its functionality.
Constants
This category contains a list of the constants that can be set within the wp-config.php file of your WordPress installation.
Articles
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_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_SETUP_WIZARD_SHOULD_DISPLAY
Setting this constant will suppress the Gravity SMTP setup wizard, preventing it from appearing when the plugin is first installed.
GRAVITYSMTP_ENABLED_EXPERIMENTAL_FEATURES
The GRAVITYSMTP_ENABLED_EXPERIMENTAL_FEATURES constant allows you to enable or disable experimental features in Gravity SMTP.
GRAVITYSMTP_INTEGRATION_PRIMARY
For advanced configurations and multisite setups, you can define a Primary integration for Gravity SMTP using constants.
GRAVITYSMTP_INTEGRATION_BACKUP
For advanced configurations and multisite setups, you can define a Backup integration for Gravity SMTP using constants.
Zoho Mail Constants
Constants available for the Gravity SMTP Zoho Mail Integration.
Using Constants To Hide Your Sensitive Settings
By using constants in your site’s wp-config.php file, you can securely store this information outside the WordPress admin interface.
Gravity SMTP Integration Slugs
Gravity SMTP integrations use lowercase reference slugs without spaces or special characters.