Hooks
Actions
Learn about the different action hooks available within Gravity SMTP. Action hooks allow you to perform additional actions when an event takes place.
Filters
Discover the different filter hooks available within Gravity SMTP. You can use filters to modify data to better match your particular needs.
Articles
gravitysmtp_abort_email_suppression
The gravitysmtp_abort_email_suppression filter prevents developers from adding an email to the suppression list.
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_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_feature_flag
The gravitysmtp_feature_flag allows developers to disable features in Gravity SMTP.
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.