
You can set the plugin to send mails to users that registered to your website, people that commented on your posts, or to a group that has commented o
My Newsletter is a lightweight newsletter plugin focused on a practical use case many site owners need immediately:
- send a campaign to WordPress users,
- send a campaign to commenters,
- optionally target commenters from a specific post,
- queue the campaign and process it in the background,
- include unsubscribe links in every message,
- track basic campaign progress in the admin area.
This plugin is intentionally simple and WordPress-native. It relies on wp_mail() for sending and WP-Cron for queue processing, which makes it easy to install and use on most shared hosting environments.
Core functionality
-
Campaign composer (admin screen)
- Create a newsletter subject and HTML content.
- Use the WordPress editor for message body content.
- Choose recipient source:
- Users + Commenters
- Users only
- Commenters only
- Commenters on a specific post
-
Background queue processing
- Recipients are queued in a custom plugin table.
- Sending runs in batches through WP-Cron (instead of trying to send everything in one browser request).
- Reduces the risk of timeouts and broken sends on slower hosting.
-
Test email before full campaign
- Send a test message to any email address from the composer screen.
- Uses the same rendering path and unsubscribe footer logic as real sends.
-
Secure unsubscribe links
- Every email can include an unsubscribe URL.
- Unsubscribe tokens use an HMAC-based signature (derived from WordPress salts).
- Unsubscribed addresses are stored in a dedicated plugin table and skipped in future campaigns.
-
Template variables (placeholders)
{{site_name}}
{{site_url}}
{{recipient_name}}
{{recipient_email}}
{{unsubscribe_url}}
-
Settings screen
- From name
- From email
- Reply-To (optional)
- Max emails per cron run (batch size)
- Footer HTML (appended to outgoing emails)
-
Basic campaign tracking
- Shows recent campaigns in admin.
- Displays queue progress (total / sent / failed / queued).
How sending works (important)
This plugin uses WP-Cron. WP-Cron runs when your site receives traffic. That means:
- On active sites, sending progresses regularly.
- On low-traffic sites, sending may be slower.
For production use, it is recommended to configure a real server cron that triggers wp-cron.php periodically.
Email deliverability note
My Newsletter sends through wp_mail(). Actual delivery quality depends on your hosting and email configuration.
For best results, use:
- a real SMTP provider,
- a verified sender domain,
- properly configured SPF / DKIM / DMARC,
- a valid
From address on your domain.
Data storage
The plugin creates two custom tables:
wpnl_queue – campaign queue and send status
wpnl_unsub – unsubscribed email addresses
On uninstall, those plugin tables and plugin options are removed.
FAQ
Does this plugin use double opt-in?
Not yet. Version 2.1.0 focuses on admin-triggered newsletter sending, background queue processing, secure unsubscribe handling, and list importing.
Why is my campaign sending slowly?
Because WP-Cron is traffic based (https://developer.wordpress.org/plugins/cron/). If your site has little traffic, cron jobs run less frequently. Configure a real cron job for more reliable processing.
Can I send to only commenters from one post?
Yes. Choose Commenters on a specific post and select the post in the composer screen.
Does it track opens/clicks?
No. This plugin tracks send queue progress only (queued / sent / failed). It does not include analytics pixels or click tracking.
Will unsubscribed addresses receive future campaigns?
No. The plugin checks its unsubscribe table before queuing recipients.
What if `wp_mail()` fails?
Failed sends are marked as failed in the queue. For more reliable sending, configure SMTP and verify the sender domain (see wp_mail() docs: https://developer.wordpress.org/reference/functions/wp_mail/).
What file should I upload for mailing list import?
CSV is best. XLSX works only for simple two-column sheets (A=email, B=name). Paste import is good for quick lists.
How do I import my mailing list?
Go to My Newsletter → Mailing List. Upload CSV/TXT/XLSX or paste emails, then Preview import and choose the merge rule before importing.
What happens if an email is already unsubscribed?
Imported emails that are currently suppressed (unsubscribed) are skipped by design. You can review them in Mailing List → Suppression list.
Can I export or delete subscribers in bulk?
Yes. You can export subscribers as CSV, delete selected rows, delete all matching your current search, or delete by domain.
ChangeLog
2.6.2
- Tested My Newsletter with WordPress 7.1 pre-release (Beta 4) and updated the compatibility declaration to WordPress 7.1.
- Fix: import preview now reliably uses its local WordPress filesystem fallback when the configured filesystem transport is unavailable or not authenticated.
2.6.1
- Added Templates JSON Import/Export (backup/migrate templates between sites) in My Newsletter → Templates.
- Updated plugin description and usage instructions for template library.
2.6.0
- Added Manage Templates submenu (My Newsletter → Templates): create, edit/rename, duplicate, and delete templates.
- Improved template workflow documentation (save/load + manage).
2.5.0
- Added email templates: Save Email Template + Load Email Template in the campaign composer.
2.4.1
- Added SMTP Test tool in Settings to send a test email and log the result.
2.4.0
- Built-in SMTP settings (Hostinger email compatible) so you can send newsletters without installing a separate SMTP plugin.
- Added Hostinger sending-limit guidance and recommended throttling notes on the Settings screen.
- Updated plugin description and documentation for mailing list import, SMTP, logging, and stop/resume controls.
2.3.6
- Optional SMTP settings (Host/Port/Encryption/Auth/Username/Password) built into My Newsletter (no external SMTP plugin required).
- Uses WordPress PHPMailer hooks; password field is not displayed and is only updated when you enter a new value.
2.3.5
- Fix: Stop/Resume campaign actions no longer trigger a fatal error; add proper admin-post and AJAX handlers.
2.3.4
- Added Stop/Resume controls for campaigns (pause sending without deleting queued emails)
- Queue processing skips stopped/paused campaigns and safely releases in-flight (sending) items
2.3.3
- Added optional log file (uploads/my-newsletter/wpnl.log) with Logs screen (view/download/clear)
- Added queue run locking and “sending” claim status to reduce duplicate processing when cron overlaps
- Added send attempt/success/failure log entries to help diagnose large sends
2.3.2
- Plugin Check fixes: filesystem handling via WP_Filesystem, CSV export without file handles, and SQL prepare improvements.
2.3.1
- Documentation update: clarified mailing list import & management in Description and User Guide
- Added step-by-step import workflow section (Preview + merge rules) and updated list management guidance
- Updated FAQs for import, suppression behavior, and bulk export/delete
2.3.0
- Added compliance UX in import preview (lawful basis / consent confirmation required)
- Added “Delete all matching search” (with confirmation) and “Delete by domain” tools for large lists
- Added Settings → Queue tools: “Run queue now” (admin-only) and Real cron setup examples
2.2.0
List management + suppression UI, plus import preview and merge rules.
2.1.0
- Added Mailing List screen with import via CSV/TXT upload, simple XLSX upload, and paste
- Added “Mailing list (imported)” as a campaign recipient source (queued directly from DB for performance)
- Added new list table (
wpnl_list) with safe upsert and uninstall cleanup
- Added detailed User Guide section to readme for repository reviewers and end users
2.0.2
- Fixed remaining Plugin Check errors (escaping, discouraged functions, and
wp_parse_url() compatibility)
- Added
languages directory to satisfy plugin header Domain Path
- Updated readme metadata (
Tested up to, tags) for repository review
- Cleaned uninstall routine variable prefixes and PHPCS annotations
2.0.1
- Plugin Check compatibility pass and cleanup
- Unified plugin text domain to
my-newsletter
- Cleaned plugin header metadata
- Replaced anonymous PHP callbacks with named methods
- Moved textdomain loading to proper hook flow
- Hardened AJAX handlers (nonce verification, capability checks, input unslashing/sanitization)
- Improved PHPCS annotations for custom DB table queries and uninstall routine
- Added repository placeholder assets (icons/banners)
- Bundled improved readme documentation
2.0.0
- Modernized rewrite / rework of the plugin structure
- Added background queue processing and campaign composer