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_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.
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_connector_types
The gravitysmtp_connector_types filter allows you to modify the list of available connector types in Gravity SMTP. It lets you add, remove, or modify the SMTP connectors available for configuration.
gravitysmtp_notifications_email_digest_frequency_options
The gravitysmtp_notifications_email_digest_frequency_options filter lets developers customize the available frequency options for the email activity digest.
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.
Amazon SES Constants
When set, these optional constants will override settings for the Amazon SES integration in Gravity SMTP. Default values are shown.
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.
Using Constants To Set Primary And Backup Integrations
Prevent unwanted configuration changes by locking primary and backup integrations with constants.