Tinio SMTP Mailer: The Evolution of a Purpose-Built Plugin

Automated English translation of the original Spanish article. Code examples keep their original identifiers.

Almost a year ago, I published the Simple SMTP Mailer plugin on this blog. It was born out of pure frustration with most existing WordPress SMTP plugins: dashboards packed with options nobody uses, unnecessary integrations, and, in some cases, even ads embedded right into the WordPress admin.

My idea was very simple: build the bare minimum required to get emails delivered reliably, without complications or distractions.

Since then, the plugin has gone through my hands and across 12 live production sites (including this very blog). I reviewed it thoroughly, refactored it, and significantly improved it. The result is a completely revamped version that now has a new name: Tinio SMTP Mailer.

Why Did I Change the Name?

“Simple SMTP Mailer” was descriptive, but far too generic. “Tinio” is now the name of the project: shorter, memorable, and carrying its own identity. The change isn’t merely cosmetic; it comes paired with major improvements to the plugin’s architecture and functionality.

What Changed Under the Hood

Object-Oriented Architecture

The previous version was functional and straightforward, but it relied on standalone functions. Now, Tinio SMTP Mailer is built with a clean architecture based on classes and namespaces, compatible with PHP 8.1+.

This brings several advantages:

  • Better code organization
  • Lower risk of naming collisions with other plugins
  • A much more solid foundation to maintain and extend in the future

The minimum PHP requirement has been bumped to 8.1. If your hosting provider is still running PHP 7.x, this is a great time to upgrade. For security and performance reasons, you should have done it a while ago anyway.

Email Logging

This is, without a doubt, the most useful improvement for production environments.

The plugin now keeps a complete history of all sent emails, tracking key details:

  • Recipient and subject
  • Delivery status (success or failure)
  • Detailed error message in case of failure

This is especially handy for WooCommerce stores, where knowing whether an order notification went out can save you hours of support work. You can easily view the log by heading to Tinio SMTP > Email Log in the admin menu.

Automatic Log Management

A log that grows indefinitely eventually becomes a problem. That’s why Tinio includes:

  • Daily automated cleanup powered by WP-Cron
  • Manual purge tools to clear records based on predefined criteria

You can configure how many records to retain so your database doesn’t bloat unnecessarily.

Full Internationalization

The plugin now features complete i18n support and ships with ready-to-use Spanish (es_ES) translations. If you run WordPress in Spanish, the entire interface will appear translated without requiring extra plugins or external services.

What Stayed the Same (Because It Already Worked Well)

Some things didn’t need touching because they were already well-solved:

  • Built-in PHPMailer: The standard, most reliable library for sending email in PHP, without external dependencies.
  • AES-256-CBC encryption for the SMTP password: The password is stored encrypted using WordPress security keys (AUTH_KEY, SECURE_AUTH_KEY, LOGGED_IN_KEY). Only that specific installation can decrypt it.
  • Test email tool: From Tinio SMTP > Send Email, you can verify that everything works before pushing a site to production.
  • PHPMailer debug levels: Ranging from level 0 (silent, ideal for production) up to 4 (very verbose). All configurable from the dashboard.
  • No bloat: No third-party integrations, ads, “premium” upsells, or telemetry. Just what you actually need.

Real-World Use Cases

Across the 12 active installations, the most common use cases are:

  • Notifications for new comments and user registrations
  • Password resets (where reliable delivery is critical)
  • Contact form submissions via Contact Form 7
  • WooCommerce order confirmations and notifications
  • Automated alerts from internal forms

In all cases, the configuration remains identical: SMTP host, port, username, and password. Nothing else.

Quick Installation and Setup

Requirements:

  • WordPress 6.0 or higher
  • PHP 8.1 or higher
  • OpenSSL extension enabled (enabled by default on most modern hosting environments)

How to install it:

  1. Download the ZIP file from the releases page on GitHub, or clone the repository directly.
  2. In your WordPress admin, go to Plugins > Add New > Upload Plugin, select the ZIP, install it, and activate it.
  3. Navigate to Tinio SMTP > Configuration and enter your SMTP credentials.

Example configuration using Gmail:

FieldValue
SMTP Hostsmtp.gmail.com
Port587
SecurityTLS
AuthenticationYes
Usernameyour Gmail address
PasswordApp Password (if 2FA is enabled)

Troubleshooting When Something Doesn’t Work

If an email isn’t being delivered, I recommend following this order:

  1. Check the Email Log first. If it failed, the SMTP server’s error message will usually appear clearly in the “Details” column. Most issues (incorrect credentials, blocked ports, sending limits) can be solved right here.
  2. Enable PHPMailer debug mode. Set the level to 2 (Server) to inspect the complete conversation with the server in your PHP error logs.
  3. Check WordPress logs. Enable WP_DEBUG and WP_DEBUG_LOG in your wp-config.php so errors get written to wp-content/debug.log.

Open Source and Contributions Welcome

Tinio SMTP Mailer is licensed under GPL-2.0, and the entire codebase is available on GitHub.

If you run into any bugs, have an idea for an improvement, or want to contribute code, pull requests are more than welcome.

Ready to Give It a Try?

To wrap up, Tinio SMTP Mailer stays true to its original philosophy: a plugin that does one single job, but does it exceptionally well and without distractions. It now has the structure, logging, and tooling required to be used with confidence even on serious, production-grade websites.

If you decide to try it out, I’d love to hear how it goes. Did it run smoothly? Did you encounter any roadblocks? Drop a comment below, and I’ll be happy to help.

Thanks for reading!