Where Did My Brain Go?

Quick Mail 3.4.4 Improves Deactivation

Discover the latest version of Quick Mail.

I created the Quick Mail WordPress plugin in 2014, to send an email with attachments from the WordPress dashboard.

Quick Mail has been updated 36 times. I added features and fixed bugs. Use it to reply to comments privately. Use Quick Mail with WP-CLI to send an email with an attachment from the command line.

Does email sent from your WordPress blog get marked as spam? Use Quick Mail with Mailgun, Sendgrid or SparkPost to send reliable email.

Quick Mail 3.4.4 fixes one error.

Plugin Deactivation and Uninstall

The WordPress options table is horrifying. Visit /wp-admin/options.php or run this SQL query:

SELECT COUNT(*) FROM wp_options WHERE autoload = 'yes'

According to this code, my 11 year old blog has 275 options autoloading. Try:

SELECT option_name FROM wp_options WHERE autoload = 'yes' ORDER BY option_id DESC

The result is your autoloaded options, sorted by the time they were added. There are probably a couple of dozen from old plugins. I could spend hours removing unused options, but who does this?

I thought I was helping help out, by deleting Quick Mail’s options, when the plugin was deactivated.

Alas, that was wrong. The WordPress Plugin Handbook advised me to use uninstall.

If you deactivate and activate Quick Mail 3.4.4, your settings will be restored.

I added a separate uninstall.php to remove the settings, if Quick Mail is deleted.

Get Quick Mail 3.4.4 from WordPress or Github

Download Quick Mail 3.4.4 from the WordPress Plugin Repository. Fork Quick Mail on GitHub to add new features.

Quick Mail 3.4.4 has been tested with WordPress 4.9.6 and 5.0 nightly releases, including multisite.

Do you use Quick Mail? Please leave a review to help others find it.

Thanks to everyone who has been translating Quick Mail. Please join the translation project so more people can use Quick Mail in their language.

My previous articles on Quick Mail contain additional information. Download Quick Mail to try it now.