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_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_sparkpost_send_as_transactional
This filter allows you to control whether emails sent through SparkPost are marked as transactional. It lets you override the default behavior of sending emails as transactional messages.
gravitysmtp_twilio_alert_request_body
The gravitysmtp_twilio_alert_request_body filter can be used to modify the request body that is sent to the Twilio API when sending SMS alerts through Gravity SMTP.