Skip to content

Settings

The SendGrail settings page is organized into four tabs: General, Email Logging, Notifications, and Advanced.

Navigate to SendGrail > Settings in your WordPress admin panel to access these options.

General

Core settings that control how SendGrail handles outgoing email.

SettingTypeDefaultDescription
Default ConnectionSelectNoneThe SMTP connection used for all outgoing emails. All wp_mail() calls route through this connection.
Fallback ConnectionSelectNoneA backup SMTP connection used when the default connection fails.
WordPress Default MailToggleDisabledIf enabled, SendGrail falls back to PHP mail() when both the default and fallback SMTP connections fail.

TIP

You must have at least one saved connection before you can select a default. See Getting Started to create your first connection.

Email Logging

Controls what email data is stored and what tracking features are active.

SettingTypeDefaultDescription
Enable Email LoggingToggleEnabledWhen enabled, SendGrail logs metadata for every email sent (recipients, subject, status, timestamps).
Store Email BodyToggleDisabledWhen enabled, the full HTML/text body of each email is saved to the log. Increases database usage.
Retention DaysNumber30Number of days to keep email logs. Logs older than this are automatically deleted. Set to 0 for unlimited retention.
Open TrackingToggleDisabledInjects an invisible tracking pixel into HTML emails to detect when recipients open them.
Click TrackingToggleDisabledRewrites links in HTML emails to pass through a tracking endpoint, recording when recipients click them.

WARNING

Enabling Store Email Body may significantly increase your database size, especially on high-volume sites. Consider setting a reasonable retention period.

INFO

Open and click tracking only work with HTML emails. Plain-text emails cannot be tracked because there is no mechanism to embed tracking pixels or rewrite links.

Notifications

Configure alerts and scheduled reports.

SettingTypeDefaultDescription
Failure AlertsToggleDisabledSend an email notification to the site admin when an email fails to deliver through all configured connections.
Weekly SummaryToggleDisabledSend a weekly email report with delivery statistics, failure counts, and engagement metrics.
Summary DaySelectMondayThe day of the week to send the weekly summary report.
Summary EmailEmailAdmin emailThe email address that receives the weekly summary. Defaults to the WordPress admin email.

TIP

Failure alert notifications are sent through the fallback connection (if configured) or WordPress default mail to avoid a loop where the notification itself fails through the same broken connection.

Advanced

Settings for debugging and connection tuning.

SettingTypeDefaultDescription
Connection TimeoutNumber30Maximum time in seconds to wait for an SMTP connection to be established before timing out.
Debug ModeToggleDisabledWhen enabled, detailed SMTP transaction logs are written to the WordPress debug log (wp-content/debug.log). Useful for troubleshooting connection issues.

WARNING

Debug Mode logs sensitive information including SMTP commands and server responses. Do not leave it enabled in production. Make sure WP_DEBUG and WP_DEBUG_LOG are enabled in your wp-config.php for debug output to appear.

php
// Enable WordPress debug logging in wp-config.php
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

Released under the GPL-3.0 License.