35 Snippets
<10 Favourites
20+ Downloads

Adding a Custom Filter when using Other SMTP Setting

This snippet will help in troubleshooting steps from "SMTP Error: Could not authenticate".

Change the redirect URI when using Google App’s OAuth

If you prefer not to use the default OAuth redirect URI (connect.wpmailsmtp.com) for added security and…

Set a Custom Reply-To Email

This snippet will ensure all emails sent from your site have the same reply-to email address.…

Change the Email Summary Email Address

This snippet will allow you to specify who the email summaries should be delivered to. On…

Block URLs Inside Text Fields

This snippet will prevent Text and Textarea fields such as Single Line Text and Paragraph text…

Set a Custom Email Header

This snippet sets custom email headers to ensure you can control specific behaviors of your sent…

Using an Office 365 GCC or DoD email address

For security measures, Government Community Cloud (GCC) and U.S. Department of Defense (DoD) accounts typically use…

Allow Other WordPress Roles to Manage Email Logs

This snippet will allow you to manage the capabilities of roles allowed to manage the site's…

Emails via two different Postmark streams based on the email subject

WP Mail SMTP plugin does not directly support selecting a specific Postmark message stream based on…

Defining Mailgun Mailer Constants

This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…

Defining SendGrid Mailer Constants

This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…

Re-route BuddyPress emails through WP Mail SMTP

This snippet will re-route all BuddyPress emails through WP Mail SMTP. This code snippet will also…

1 2 3