Newsletter Plugin

Email newsletter with double opt-in, a free-form composer (reuses the CMS's own rich-text editor), a quick article-digest sender, and send history.

Features

  • [newsletter_signup] shortcode — single-field email signup form
  • Double opt-in: a confirmation email must be clicked before a subscriber is counted
  • One-click unsubscribe link in every email (no login required)
  • Composer: write a free-form HTML newsletter using the exact same WYSIWYG editor as CMS articles (editor-common.js + editor.js, loaded from the core admin assets — not reimplemented)
  • Quick digest: one-click send of every article published since the last digest, as a simple linked list
  • Both send modes go out in small batches (20 recipients per request) to stay well under shared-hosting execution-time and mail-rate limits — no cron required
  • History: every sent newsletter (custom or digest) is recorded with subject, recipient count, and send date; deletable individually

Mail

HTML emails via PHP's native mail() (multipart/alternative with an auto-generated plain-text fallback), consistent with the rest of the CMS using no external mail library. If deliverability becomes a real concern at higher subscriber counts, the failure point would be nl_send_html_mail() in newsletter-mail.php — swapping in SMTP later only touches that one function.