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_INTEGRATION_PRIMARY
For advanced configurations and multisite setups, you can define a Primary integration for Gravity SMTP using constants.
gravitysmtp_abort_email_suppression
The gravitysmtp_abort_email_suppression filter prevents developers from adding an email to the suppression list.
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.
gravitysmtp_after_email_suppressed
Fires after an email has been successfully suppressed in the Gravity SMTP suppression list. The gravitysmtp_after_email_suppressed action allows you to perform custom logic after adding an email to the suppression database.
gravitysmtp_before_email_send
Fires before an email is sent through Gravity SMTP. This action allows you to perform custom logic before the email sending process begins.
gravitysmtp_managed_email_types
The gravitysmtp_managed_email_types allows developers to modify or extend the list of managed email types by adding their own custom types.
gravitysmtp_feature_flag
The gravitysmtp_feature_flag allows developers to disable features in Gravity SMTP.
gravitysmtp_delete_log_on_deactivate
The gravitysmtp_delete_log_on_deactivate filter allows developers to control whether the debug log should be deleted when debug logging is disabled.
gravitysmtp_connector_for_sending
This gravitysmtp_connector_for_sending filter lets you dynamically choose which SMTP connector should handle a specific email.
gravitysmtp_attachment_uploads_dir_path
The gravitysmtp_attachment_uploads_dir_path filter lets you customize the directory path where Gravity SMTP saves email attachments.