WP Manifestindependent plugin directory
manifest / unclassified / db-smtp-mailer

DB SMTP Mailer releasesself-updates

Configura l'invio email SMTP su WordPress. 6 campi, testa, funziona. Niente wizard, niente tracking, niente upsell.

by Davide Bertolino · github.com/dadebertolino/db-smtp-mailer · website

0stars
22release downloads
≈10active sites
0forks

Install

The author publishes release zips, so WP-CLI can install straight from GitHub:

wp plugin install https://github.com/dadebertolino/db-smtp-mailer/releases/download/v1.1.1/db-smtp-mailer-1.1.1.zip

Ships its own WordPress updater (built-in updater), so new versions show up under Dashboard → Updates.

Readme

DB SMTP Mailer

Configure SMTP email delivery for WordPress. Fill in 6 fields, test, done. No wizard, no tracking, no upsell.


Features

  • Complete SMTP configuration — host, port, encryption (TLS/SSL), authentication, sender override
  • Provider presets — Gmail, Aruba, Aruba PEC, Register.it, Outlook/Office 365, Yahoo, Libero, SendGrid, Brevo, Mailgun, Amazon SES
  • Force sender — overrides From/FromName set by any other plugin
  • Test email — verify configuration with one click, with detailed PHPMailer error diagnostics
  • Email log — records last N emails (sent/failed) with auto-cleanup via WP Cron
  • System diagnostics — SMTP status, PHP mail(), OpenSSL, PHPMailer version, DB Form Builder compatibility
  • Encrypted password — never stored in plaintext, never visible after saving (wp_encrypt on WP 6.8+, AES-256-CBC fallback)
  • DB Form Builder integration — shows "✓ SMTP configured via DB SMTP Mailer" when both plugins are active
  • DB Privacy Hub integration — automatically declares processing operations and supports DSAR (export/erase) on the email log
  • Auto-updates from GitHub — update notifications directly in WordPress, just like official plugins

Demo

🔗 Plugin page on davidebertolino.it


Installation

  1. Download the latest release ZIP from Releases
  2. In WordPress, go to Plugins → Add New → Upload Plugin
  3. Upload the ZIP file and click Install Now
  4. Activate the plugin
  5. Go to Tools → SMTP Mailer

The plugin auto-updates from GitHub — you'll receive update notifications directly in your WordPress dashboard, just like plugins from the official repository.


Requirements

  • WordPress 5.8+
  • PHP 7.4+
  • OpenSSL extension (recommended, for TLS/SSL encryption)

Tech Stack

PHP WordPress API PHPMailer AES-256-CBC WP Cron


Configuration

Quick Setup

  1. Select your provider from the "Quick setup" dropdown (fills in host, port, encryption)
  2. Enter your SMTP username and password
  3. Set sender email and name
  4. Save
  5. Go to the "Test email" tab and verify everything works

Email Log

The log is optional. Enable it from the Settings tab:

Setting Default Description
Max records 50 How many emails to keep in the log
Retention days 30 Auto-delete records older than this via WP Cron

Diagnostics

The Diagnostics tab shows: SMTP status, last email sent (date/time + status), PHP mail() function, OpenSSL extension, PHPMailer version, DB Form Builder compatibility.


File Structure

db-smtp-mailer/
├── db-smtp-mailer.php          # Main plugin file
├── uninstall.php               # Full cleanup on deletion
├── README.md
├── LICENSE
├── assets/
│   ├── css/
│   │   ├── db-admin-ui.css     # Shared admin design system
│   │   └── admin.css           # Plugin-specific admin styles
│   └── js/
│       └── admin.js
└── inc/
    ├── class-updater.php       # GitHub auto-updater
    ├── class-admin.php         # Admin page, tabs, AJAX
    ├── class-encryption.php    # Password encryption/decryption
    ├── class-logger.php        # Email log with custom DB table
    └── class-mailer.php        # phpmailer_init override

How It Works

The plugin hooks into phpmailer_init (priority 99) to override WordPress PHPMailer configuration with your SMTP settings. Every call to wp_mail() — from any plugin, theme, or core — goes through SMTP.

When "Force sender" is enabled, wp_mail_from and wp_mail_from_name filters at priority 9999 ensure your configured sender overrides anything set by other plugins.

Passwords are encrypted with wp_encrypt() on WP 6.8+ or AES-256-CBC with AUTH_KEY on older versions. The plaintext password never touches the database and is never exposed in the admin UI after saving.


Changelog

1.1.1

  • Added DB Privacy Hub integration via inc/class-privacy-declarations.php
  • Declares two processing operations to dbph_processing_register: dbsm_credentials (SMTP credentials of the data controller) and dbsm_email_log (sent-email log)
  • Registers DSAR exporter and eraser for the email log (GDPR Art. 15 and 17) via dbph_user_data_exporters / dbph_user_data_erasers
  • Added "DB Privacy Hub" row to the Diagnostics tab with integration status and link to the Processing Register
  • Graceful fallback: when Privacy Hub is not installed, filters never fire and standalone behavior is unchanged

1.1.0

  • Added GitHub auto-updater (inc/class-updater.php)
  • Added shared admin design system (db-admin-ui.css)
  • Added uninstall.php with full cleanup (option, table, cron, transient)
  • Added LICENSE (GPL v3)
  • Refactored admin.css to use CSS variables from design system
  • Updated license to GPL v3 or later

1.0.0

  • Initial release
  • Complete SMTP configuration with provider presets
  • Test email with PHPMailer error diagnostics
  • Email log with auto-cleanup via WP Cron
  • System diagnostics
  • DB Form Builder integration
  • Encrypted password (wp_encrypt / AES-256-CBC)
  • GitHub auto-updater
  • Shared admin design system (db-admin-ui)

Contributing

Contributions are welcome. Please open an issue first to discuss what you'd like to change.


License

This project is licensed under the GPL v3 or later.


Author

Davide Bertolino — Electronic Engineer · STEM Teacher · Open Source Developer


🇮🇹 Italiano

Configura l'invio email SMTP su WordPress. Compili 6 campi, testi, funziona. Fine. Niente wizard, niente provider proprietari, niente tracking, niente upsell.

Pagina plugin: davidebertolino.it/progetti/db-smtp-mailer

Read the full README on GitHub →

Releases

TagPublishedAssetDownloads
v1.1.1 May 15, 2026 db-smtp-mailer-1.1.1.zip 4
v1.1.0 Apr 16, 2026 db-smtp-mailer.zip 6
V1.0.0 Apr 10, 2026 db-smtp-mailer.zip 12

Active-site estimate ≈10 comes from the median of recent superseded releases. Method.