Midnight Newsletter
Newsletters from MODX resources, sent through SMTP2GO
Organization: ORG. TEND d.o.o.
Creator: Uroš Likar (theuros)
About Midnight Newsletter
Newsletters built from MODX 3 resources: the rendered page is the email.
- Double opt-in (GDPR) subscriptions with groups
- One-time or daily, weekly, monthly campaigns
- Personal emails via SMTP2GO, one-click unsubscribe
- Delivery, open and click statistics
Requires pdoTools 3, an SMTP2GO account and a cron job.
Information
Released
October 12, 2026
Supported Database
MySQL
License
GPLv2
Supported Versions
3.0 - Current
Downloads
0
Instructions
Requirements
- MODX 3, PHP 8.1+ with curl, pdoTools 3
- An SMTP2GO account with a verified sender domain
- MODX mail configured (confirmation emails), Bootstrap 5 on the front end
After installation
- System Settings (namespace midnightnewsletter):
smtp2goApiKey(permissions Emails, Templates, Webhooks, Statistics),mnEmailSender,mnEmailSenderName - Cron every minute:
php /path/core/components/midnightnewsletter/elements/scripts/cron.php(or CronManager: snippet mnCampaign, cronjob=all) - Groups: Extras → Newsletter → Groups
- Newsletter: a resource with the mnNewsletter template; set sending in its Newsletter tab
- Subscribe form:
[[!mnNewsletter? &show=`modal`]] - Extras → Newsletter → Overview shows what is still missing
Full documentation: modx.tend.si/midnight-newsletter
New in 1.0.0-beta6
First public release on modx.com (earlier betas were private test installs).
- Manager: Overview shows cron status (OK / stopped / missing) and a log with error badges
- Access policy MidnightNewsletter Full Access (mn_view, mn_subscribers)
- No duplicate emails after a provider timeout; a subscriber leaving during sending no longer blocks the campaign
- SMTP2GO: waits for a new template before sending
- Subscribe forms: honeypot and rate limits
- Uninstall keeps the system settings (API key, sender, pages)
- User guide and SMTP2GO setup guide