35 Snippets
<10 Favourites
30+ 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.…

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…

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…

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…

Remove "mail.readwrite" Scope for the Outlook Mailer

This snippet removes the `mail.readwrite` scope from the WP Mail SMTP plugin Outlook provider.

Allow Other WordPress Roles to View Email Logs

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

Set a Custom Email Header

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

Customize Action Scheduler Retention Period

This snippet allows you to change the default 30-day storage for the Action Scheduler retention period.

Defining Mailgun Mailer Constants

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

1 2 3