Articles

Configuring Integrations with Custom API Parameters

This article explains how to configure integrations in Gravity SMTP to use provider-specific parameters to enable GDPR-compliant routing or other requirements.

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_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.

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_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_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_connector_for_sending

This gravitysmtp_connector_for_sending filter lets you dynamically choose which SMTP connector should handle a specific email.

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_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.

Email Activity Digest

This article explains the Email Activity Digest, an email summary of site email activity, and shows how to configure its settings for delivery frequency and previews.