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_on_send_failure
The gravitysmtp_on_send_failure action allows you to perform custom logic when email sending fails, such as logging, notifications, or cleanup operations.
Resend Constants
Constants available for the Gravity SMTP Resend Integration.
Gravity SMTP Capabilities
List of capabilities that Gravity SMTP introduces to the WordPress role system.
GRAVITYSMTP_DEBUG_LOG_ENABLED
The GRAVITYSMTP_DEBUG_LOG_ENABLED constant in Gravity SMTP enables or disables the email log.
GRAVITYSMTP_DEBUG_LOG_RETENTION
The GRAVITYSMTP_DEBUG_LOG_RETENTION constant in Gravity SMTP defines the number of days to retain logs.
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.