se7enxweb / cjw_newsletter
CJW Newsletter, the newsletter system of Exponential: lists, editions and articles as content, double opt-in, sending from the cron, bounces, deliverability, statistics with consent, A/B tests, SMS and CSV import and export.
Package info
github.com/se7enxweb/cjw_newsletter
Type:exponential-extension
pkg:composer/se7enxweb/cjw_newsletter
Fund package maintenance!
Requires
- php: >=8.0
- se7enxweb/exponential-legacy-installer: ^2.2.6
Requires (Dev)
None
Suggests
- se7enxweb/expqueue: Delivers the newsletter sends through the job queue's workers (cjw_newsletter.ini [QueueDeliverySettings] QueueDelivery=enabled)
- se7enxweb/ezoracle: Oracle sites need ezoracle ~2.3.16 or later: earlier versions cannot store an edition's output of more than 4000 bytes, so its sends fail
Provides
None
Conflicts
None
Replaces
None
- dev-master
- 5.1.0
- 5.0.0
- 4.3.6
- 4.3.5
- 4.3.4
- 4.3.3
- 4.3.2
- 4.3.1
- 4.3.0
- 4.2.x-dev
- 4.2.23
- 4.2.22
- 4.2.21
- 4.2.20
- 4.2.19
- 4.2.18
- 4.2.17
- 4.2.16
- 4.2.15
- 4.2.14
- 4.2.13
- 4.2.12
- 4.2.11
- 4.2.10
- 4.2.9
- 4.2.8
- 4.2.7
- 4.2.6
- 4.2.5
- 4.2.4
- 4.2.3
- 4.2.2
- 4.2.1
- 4.2.0
- 4.1.20
- 4.1.19
- 4.1.18
- 4.1.17
- 4.1.16
- 4.1.15
- 4.1.14
- 4.1.13
- 4.1.12
- 4.1.11
- 4.1.10
- 4.1.9
- 4.1.8
- 4.1.7
- 4.1.6
- 4.1.5
- 4.1.4
- 4.1.3
- 4.1.2
- 4.1.1
- 4.1.0
- 4.0.0.1
- 4.0.0.0
- 3.1.0
- 3.0.1
- dev-feature/layout-editions
- dev-feature/ai-assist
- dev-release/5.1.0
- dev-release/5.0.0
- dev-feature/graphql
- dev-feature/queue-delivery
- dev-feature/engines-known-failures
- dev-feature/engines
This package is auto-updated.
Last update: 2026-12-03 22:40:19 UTC
README
CJW Newsletter is the newsletter system of Exponential. Newsletter editions are ordinary content (lists, editions and articles in the content tree), visitors subscribe to lists with a double opt-in, editions go out from the cron in the background, and bounces, the blacklist and the kernel's e-mail preferences keep the lists clean.
It is for site owners and editors who want to send newsletters from the same system as their web site, and for developers who need a newsletter they can theme, extend and run from the console.
What you get:
- A Newsletter tab in the administration (admin4 draws it with the
envelopeicon) with a dashboard of the lists, the subscribers, the sends and the problems found. In admin4 every administration page is drawn with admin4's own page heads, tables, buttons, notices and badges, and with Bootstrap icons instead of the Crystal images, in light and dark mode and on a phone. That includes the edit forms of the list, edition and subscription attributes and the newsletter card of the notification settings. admin and admin2 keep their look (see doc/admin4.md). - Lists, editions and articles as content classes; HTML and plain text output; the skins
default,company,newsandshop, and your own. - Public pages to subscribe, confirm (double opt-in), change the subscription and unsubscribe; a web archive of the sent editions.
- Subscriber management: CSV import with a column mapping, preview and dry run; CSV export; blacklist; bounce handling from mail accounts.
- Deliverability: suppression of hard bounces and complaints, retries of soft bounces, rate limits and batches, test groups, subscribe and unsubscribe by e-mail.
- Editorial tools: recurring sends, article pools and an article picker, approval of editions through the collaboration inbox.
- Personalization: placeholders, a "newsletter condition" tag for parts only some subscribers get, interests, one edition in several languages, preview as a subscriber.
- Statistics with privacy in mind: opens and clicks per person only with consent, anonymous totals otherwise, A/B subject tests, CSV export, retention.
- Newsletters by SMS (file, generic HTTP/JSON or a Twilio-style transport).
- Console commands and cronjob parts for everything that runs in the background.
- A migration from the old eznewsletter extension.
- Translations for 18 locales.
Requirements
- Exponential 6.0.15 or later. The module views, the cronjob parts and the console commands are built on the
kernel's
Exponential\Runnableclasses, and the deliverability, consent and approval features use the kernel's e-mail preferences and collaboration inbox (see doc/upgrade-4.2.md). - The newsletter on the GraphQL API (doc/graphql.md) needs Exponential 6.0.15 or later, 7.0.0
included, with the GraphQL API switched on. Its own event kinds need a kernel with event kinds of packages; on a
kernel without them the events are the kernel's
mutationevent. - PHP 8.0 or later (tested up to 8.5).
- One of the seven site databases: SQLite, PostgreSQL, MongoDB, MariaDB, MySQL, Oracle (extension ezoracle) or Microsoft SQL Server / Azure SQL. The schema of each, its update files and the CI that proves them are described in doc/databases.md.
- The PHP command line on the server, for the cron, the preview and background jobs.
- A way to send mail: SMTP, sendmail, or the
filetransport for testing. - Optional: the extension expai, for the subject proposals, the AI review and the tone action of the send and edit forms (doc/ai-assist.md). Without it these parts are absent.
Installation
1. Get the files
With Composer, from the root of your Exponential installation:
composer require se7enxweb/cjw_newsletter
The legacy extension installer puts the files in extension/cjw_newsletter.
By hand: download a release from https://github.com/se7enxweb/cjw_newsletter/releases (or
git clone https://github.com/se7enxweb/cjw_newsletter.git extension/cjw_newsletter) so that the files are in
extension/cjw_newsletter. The folder must be called cjw_newsletter.
2. Activate the extension
In settings/override/site.ini.append.php:
[ExtensionSettings]
ActiveExtensions[]=cjw_newsletter
If you use the website toolbar (ezwt), list cjw_newsletter before it.
3. Create the database tables
A site installed with the newsletter active gets its tables from the installer. On an existing site, after step 2:
./console exp:upgrade:database --apply # step 6.0.15-active-extension-tables, every engine # or the package's own command (creates only what is missing) php extension/cjw_newsletter/bin/php/dbschema.php -s <admin siteaccess> --install
Both create the tables from share/db_schema.dba with the schema handler of the site's database. To create them by
hand, each engine has its file: sql/mysql/schema.sql (MariaDB too), sql/postgresql/schema.sql,
sql/sqlite/schema.sql, sql/oracle/schema.sql, sql/sqlserver/schema.sql and sql/mongodb/schema.json
(collections and indexes). The last three are written from share/db_schema.dba by
bin/php/dbschema.php --write-files. See doc/databases.md.
4. Regenerate the autoloads and clear the caches
php bin/php/ezpgenerateautoloads.php -e php bin/php/ezcache.php --clear-all
5. Import the content classes and create the newsletter tree
The classes are in two packages, packages/cjw_newsletter_classes-1.0-1.ezpkg (root, system, list, edition,
article) and packages/cjw_newsletter_list_virtual-1.0-1.ezpkg (virtual list). Either import them in the
administration (Setup > Packages > Import new package), or let the class installer do it together with the
section and a first newsletter tree. Save this as a script, for example cjw_newsletter_setup.php in the
installation's root, and run it once with php bin/php/ezexec.php cjw_newsletter_setup.php:
<?php // Imports the missing newsletter classes, creates the section "CJW Newsletter" and a newsletter tree // (root, system, one list) below the content root, and writes RootFolderNodeId to // settings/override/cjw_newsletter.ini.append.php. Every step leaves what exists alone. $admin = eZUser::fetchByName( 'admin' ); eZUser::setCurrentlyLoggedInUser( $admin, $admin->attribute( 'contentobject_id' ) ); print_r( CjwNewsletterClassInstaller::install() ); $report = array(); CjwNewsletterClassInstaller::installSection( $report ); $rootNodeID = CjwNewsletterClassInstaller::installTree( null, $report ); if ( $rootNodeID ) $report['setting'] = CjwNewsletterClassInstaller::writeRootFolderSetting( $rootNodeID ); print_r( $report );
Done by hand instead, the steps are: create a section "CJW Newsletter" with the navigation part "CJW Newsletter",
create a cjw_newsletter_root object and assign it that section, set [NewsletterSettings] RootFolderNodeId to its
node, and build the tree below it:
Newsletter Root
- Newsletter System
- Newsletter List 1
- Newsletter Edition 1
- Newsletter Article 1
- Newsletter Article 2
- Newsletter List 2
6. Configure sending and the cron
Set the sender and the transports (see Configuration), check that [SiteSettings] SiteURL of the
siteaccess that renders the newsletter is the public host name (it makes the absolute links and image URLs of the
mails), and add the cron jobs (see Cron jobs).
The Newsletter tab now shows in the administration's top menu. If one of your siteaccesses keeps its own
menu.ini.append.php with a [TopAdminMenu] Tabs[] list, add Tabs[]=newsletter to it.
Configuration
The defaults are in extension/cjw_newsletter/settings/cjw_newsletter.ini, where every setting is explained. Put
your changes in settings/override/cjw_newsletter.ini.append.php (or a siteaccess's settings folder). The settings
most installations change:
[NewsletterSettings] # Node of the container below which the newsletter systems are looked for RootFolderNodeId=1 # The PHP command line for the preview and background runs; auto = the PHP that serves the request PhpCli=auto # Skins offered when editing a list (design:newsletter/skin/<name>) AvailableSkinArray[]=default [NewsletterMailSettings] # smtp, sendmail or file (file writes every mail as an .eml file to FileTransportMailDir and sends nothing) TransportMethodCronjob=smtp TransportMethodPreview=smtp TransportMethodDirectly=smtp FileTransportMailDir=var/log/mail SmtpTransportServer=smtp.example.com SmtpTransportPort=587 SmtpTransportUser=newsletter@example.com SmtpTransportPassword=secret SmtpTransportConnectionType=tls # Sender of the subscribe and unsubscribe mails EmailSender=newsletter@example.com EmailSenderName=Example Newsletter # Prefix of every subject; empty = "[Newsletter <host of SiteURL>]" EmailSubjectPrefix= [BounceSettings] # Bounces after which a subscriber counts as bounced BounceThresholdValue=3
TransportMethodCronjob is used for the editions the cron sends, TransportMethodPreview for test mails and
TransportMethodDirectly for the subscribe and information mails. To try a whole installation without a mail server,
set all three to file and read the mails in FileTransportMailDir.
The other blocks of cjw_newsletter.ini and the guide that explains them:
| Blocks | Guide |
|---|---|
[NewsletterUserSettings], [NewsletterFilterSettings], [NewsletterCsvImportSettings], [ImportMappingSettings], [EznewsletterImportSettings] |
Import, export and migration |
[DeliverabilitySettings], [ThrottleSettings], [TestSendSettings], [MailInSettings], [MailboxAuthSettings] (OAuth 2.0 for mail accounts) |
Deliverability |
[ScheduleSettings], [ArticlePoolSettings], [ApprovalSettings] |
Editorial |
[PlaceholderSettings], [ConditionTagSettings], [InterestSettings], [LanguageSettings], [TextViewSettings], [Skin_*] |
Rendering |
[TrackingSettings], [ABTestSettings], [StatisticsSettings] |
Statistics |
[SmsSettings], [SmsTransport_*] |
SMS |
[ExtensionPointSettings], [NotificationCardSettings], [DebugSettings] |
comments in cjw_newsletter.ini |
What is on and off by default (tracking, SMS, rate limits and mail-in are off) is listed in doc/upgrade-4.2.md.
Usage
Send your first newsletter
- In the Newsletter tab, open your list (or create one below a newsletter system) and set its sender, skin and output formats (HTML, text).
- Create a Newsletter Edition below the list and add Newsletter Article objects below the edition.
- Open the edition and click Send. Send a test mail to yourself first, then schedule the send.
- The cron part
cjw_newsletter_mailqueue_createcreates one mail per subscriber, andcjw_newsletter_mailqueue_processsends them. The send page and the dashboard show the progress.
Select recipients with segments
A segment is a saved, rule-based selection of the approved subscribers of one list. Conditions, match mode, the consent and known-send rules for behavior conditions: doc/segments.md.
Segments are managed on two pages: /newsletter/segment_list/<list id> lists the segments of a list, and
/newsletter/segment_edit/<id>/<list id> creates (id 0), edits, size-checks or removes one. Show size counts the
members of the conditions as posted without saving; Remove the segment is refused while a send that is waiting or scheduled
uses the segment. Both pages need the function newsletter/editorial; the sample of members in the size check is
shown only to users who also have newsletter/subscription_list (doc/segments.md).
To send an edition to a segment, choose it in the Send to select of the send form; "Whole list" keeps the
send unchanged. The members are evaluated when the send is queued. Other extensions can narrow the recipients of a
send with the sendRecipients extension point (doc/segments.md).
Check an edition before sending, with optional AI help
The send form shows a copy check of the edition (unsubscribe link, required texts, subject length, images without alternative text, empty or broken links, spam-prone subjects): warnings that do not stop the send unless an administrator makes a check blocking; a test send is never stopped. With the extension expai active and switched on, the editor can also ask for subject proposals for the A/B test and an AI review of the text, and the edit form offers a Newsletter tone action. Only the edition's own content with unresolved placeholders is sent to the AI service, never subscriber data: doc/ai-assist.md.
Greet new subscribers with a welcome series
A series sends a fixed sequence of editions to new subscribers once their subscription is approved:
doc/series.md. Edit it on the page newsletter/series_edit/<list object id> (steps, delays,
audience, pause and resume, Send to me); the page needs the policy function editorial.
Let visitors subscribe
The public views are on any siteaccess:
| URL | Page |
|---|---|
/newsletter/subscribe |
The subscribe form (a confirmation mail is sent: double opt-in) |
/newsletter/configure/<user hash> |
Confirm, choose lists, change the details |
/newsletter/unsubscribe/<hash> |
Unsubscribe from a list |
/newsletter/archive/<send hash>/<format>/<subscription hash> |
The web version of a sent edition |
Give the Anonymous role the functions newsletter/subscribe, newsletter/configure, newsletter/unsubscribe and
newsletter/archive.
The form checks every field (a list chosen, a valid address, the consent box, the fields of the feature areas) before it looks the address up, so a known and a new address get the same warnings and the same page. A known address gets the information mail with its configure link instead of a new subscription; nothing of the person changes. A blacklisted or suppressed address gets no mail.
Mail limit per address. One address gets at most SubscribeLimitPerAddress opt-in and information mails per
SubscribeLimitPerAddressWindow seconds (cjw_newsletter.ini [GraphQLSettings], default 3 per day), through the
form and the GraphQL API together; over it, no further mail goes out and the page stays the same. The counters use the
rate limiter of the kernel's GraphQL API; a kernel without it has no such limit.
Consent text and version
A sign-up shows a consent text, records the text and its version, and refuses a sign-up for a text that is no longer
current. cjw_newsletter.ini [ConsentSettings], per siteaccess (one text per language) or for the installation:
[ConsentSettings] # raise the version whenever the text changes Version=2026-12 # plain text; empty: the package's default text, translated into the siteaccess's language Text=Yes, I would like to receive the newsletter of Example Ltd. by e-mail ... # a list's own text and version, by its content object id (both needed) ListVersion[123]=members-1 ListText[123]=Yes, I would like to receive the members' newsletter ...
The shipped settings have Version=1 and an empty Text: the package's short default text, in English and German.
Have it reviewed for your site and set your own text. An empty Version switches the consent off: the form asks for
none (as before 5.0) and the API offers no list.
- The form shows the text of every consent that applies, each with a box to tick, and sends the version it showed. A sign-up without the tick, or with a version that has changed since the form was shown, gets a warning and the form again with the current text; nothing is stored or sent.
- Every subscription a sign-up creates carries the version and the channel (
formorgraphql); the subscription page of the administration shows them as "Consent: ()". - With the kernel's e-mail preferences, the consent log gets the row of the sign-up with the source
signup, the actionpendingand the wording<text> [consent version <version>, <channel>]. The confirmation and the unsubscribe are recorded as before. Without them, only the columns are written. - Raise
Versionwhenever you changeText. The log row carries the text itself, so it stays true, but the version on the subscription would name two texts.
Sign-up from a headless front end (GraphQL)
On Exponential 6.0.15 or later (7.0.0 included) with the GraphQL API switched on, a front end can list the public
lists (newsletterLists), sign up (newsletterSubscribe, double opt-in), confirm (newsletterConfirm) and
unsubscribe (newsletterUnsubscribe), and other systems hear about confirmed and ended subscriptions through webhooks
and GraphQL subscriptions, as the newsletter's own event kinds newsletter.subscription.confirmed and
newsletter.unsubscribed (name them, or newsletter.*, in a webhook's Events[]). Nothing of it is in the schema until cjw_newsletter.ini [GraphQLSettings] PublicListList[] names a list. Settings, answers, limits, examples and what anonymous callers need:
doc/graphql.md.
Template operators and fetch functions
{* Number of confirmed subscriptions of a list *}
{fetch( 'newsletter', 'subscription_list_count', hash( 'list_contentobject_id', $node.contentobject_id,
'status', 'confirmed' ) )}
{* The subscriptions of a list, 20 per page *}
{def $subscriptions = fetch( 'newsletter', 'subscription_list', hash( 'list_contentobject_id', $node.contentobject_id,
'status', 'confirmed',
'limit', 20, 'offset', 0 ) )}
{* The mails sent to one newsletter user *}
{fetch( 'newsletter', 'edition_send_item_list', hash( 'newsletter_user_id', $newsletter_user.id ) )}
{* Plain text of a rich text field, for the text part of a mail *}
{$node.data_map.description|cjwnl_plaintext()}
{* The subscription states, id => name *}
{cjw_newsletter_variable( 'available_subscription_status_id_name_array' )}
{* String helpers *}
{$text|cjw_newsletter_str_replace( 'old', 'new' )}
{$text|cjw_newsletter_preg_replace( '/\s+/', ' ' )}
The status of the subscription fetches is one of pending, confirmed, approved, removed, bounced or
blacklisted. The module also has the fetch functions subscription_list, import_subscription_list, user_list
(each with a _count twin), test_group_list, article_statistics, send_statistics, approval_state,
edition_articles, list_article_pool, article_pool_list and schedule_list
(modules/newsletter/function_definition.php). The rendering operators cjwnl_* are described in
doc/rendering.md.
Your own skin
A skin is a folder of templates in your design. Copy design/standard/templates/newsletter/skin/default to your
design, change it, and offer it in the settings:
my_design/templates/newsletter/skin/my_custom_skin/outputformat/html.tpl
my_design/templates/newsletter/skin/my_custom_skin/outputformat/text.tpl
[NewsletterSettings]
AvailableSkinArray[]=my_custom_skin
Clear the template caches after adding templates. The skin is now offered when you edit a list.
Cron jobs
php runcronjobs.php -s <siteaccess> cjw_newsletter # create the mail queue and send it php runcronjobs.php -s <siteaccess> cjw_newsletter_mailbox # read the newsletter's own mail accounts (bounces) php runcronjobs.php -s <siteaccess> mailbounces # the kernel's bounce reader (also mail-in)
cjw_newsletter runs the parts cjw_newsletter_mailqueue_create and cjw_newsletter_mailqueue_process, which can
also run on their own. A crontab that sends every five minutes:
*/5 * * * * cd /path/to/exponential && php runcronjobs.php -q -s <siteaccess> cjw_newsletter
The welcome series need no cron part of their own: the due steps are sent at the start of
cjw_newsletter_mailqueue_create, and their mails go out in the next send run.
Sending through the job queue
With the job queue expqueue (package se7enxweb/expqueue, optional) the sends can be delivered by its workers
instead of the cron: the queue of a send is created as soon as it is due, each send is sent batch by batch by one
job, sends of different transports run side by side, and every mail is sent at most once (an item whose worker
stopped is shown as "unknown outcome" and waits for an administrator's "Send again" or "Close"). Off by default:
[QueueDeliverySettings] QueueDelivery=enabled
It takes effect only where expqueue is active and its tables exist; otherwise the cron parts send as before. Keep
the cron parts: with queue delivery the send part sends nothing and makes sure every open send has its job. Details:
doc/queue-delivery.md.
Console commands
Every command shows its options with --help; most have --dry-run.
./console ext:cjw_newsletter:status # lists, subscribers, sends, outbox, problems ./console ext:cjw_newsletter:queue --dry-run # the two cron parts by hand (--create-only, --send-only) ./console ext:cjw_newsletter:queue --unknown # items of unknown outcome (--resolve-unknown=<send> --action=resend|close) ./console ext:cjw_newsletter:mailbox # collect and parse the mail accounts ./console ext:cjw_newsletter:repair --dry-run # orphaned subscriptions and mails ./console ext:cjw_newsletter:import # a CSV import uploaded in the admin ./console ext:cjw_newsletter:schedule list # recurring sends (list|run) ./console ext:cjw_newsletter:deliverability status # status|suppression-import|pause|resume|read ./console ext:cjw_newsletter:statistics --cleanup # retention cleanup, --decide for A/B winners ./console ext:cjw_newsletter:import-eznewsletter --dry-run # migrate from eznewsletter ./console ext:cjw_newsletter:translatable-fields --dry-run # upgrade step of 4.2.0 ./console ext:cjw_newsletter:class-languages --dry-run # upgrade step of 4.2.1 ./console ext:cjw_newsletter:dbschema --check # tables against share/db_schema.dba (--update, --upgrade-check)
Without ./console, run the scripts directly, for example php extension/cjw_newsletter/bin/php/status.php.
Permissions
The module newsletter has these policy functions (modules/newsletter/module.php):
| Function | Gives |
|---|---|
admin |
Shows the admin menu of the newsletter |
index |
The dashboard |
subscribe, configure, unsubscribe, archive |
The public pages (for the Anonymous role) |
preview, send, settings |
Previewing and sending editions (also "Send again" and "Close" for items of unknown outcome, send_unknown; the copy check and the AI requests of the send form, newsletter/ai_assist, whose AI requests also need expai's expai/write), the settings view |
subscription_list, subscription_view, subscription_list_csvimport, subscription_list_csvimport_import, subscription_list_csvexport |
Subscriptions, their import and export |
user_list, user_view, user_create, user_edit, user_remove |
Newsletter users |
mailbox_list, mailbox_edit, mailbox_item_list, mailbox_item_view |
Mail accounts and their messages (bounces) |
blacklist_item |
The blacklist |
import_list, import_view |
Past imports |
deliverability |
Rate limits and batches, test groups, mail-in addresses, suppression import |
editorial, approve |
Recurring sends, article pools, segment pages (list and edit), the welcome series page (series_edit), asking for and deciding approvals |
rendering |
Interests, the skin preview |
statistics, track |
Reports and A/B tests; the open pixel and click redirect |
sms, sms_public |
The SMS send page; the SMS confirmation and the provider endpoint |
import_export |
Import with a column mapping, subscriber export, migration log |
settings/site.ini.append.php opens newsletter/o, newsletter/r, newsletter/sms_inbound and
newsletter/sms_confirm to everybody (PolicyOmitList[]); each checks its own signature or secret. The
Administrator role of a standard installation has newsletter/*.
Upgrading
Replace the files (or run composer update se7enxweb/cjw_newsletter), run the database updates of the releases in
between from update/database/<engine>/ (./console ext:cjw_newsletter:dbschema --update --from=<old release> --apply
lists and runs them on every engine; Oracle, SQL Server and MongoDB have files from 4.3.3 on, see
doc/databases.md), regenerate the autoloads and clear the caches. From 4.1, follow
doc/upgrade-4.2.md step by step; from 4.2, follow doc/upgrade-4.3.md; from 5.0, follow doc/upgrade-5.1.md. Every release is described in CHANGELOG.
To 5.0: run update/database/<engine>/5.0/dbupdate-4.3.4-to-5.0.0.sql once, before the new files are used (it
adds cjwnl_subscription.consent_version and consent_channel; the persistent class needs them). Then check the
consent text (README, "Consent text and version"): the shipped settings switch the consent box of the form on with the
package's default text. An override of newsletter/subscribe.tpl needs the consent block of the standard template
(Subscription_ConsentVersion[], Subscription_ConsentTicked[]), or every sign-up is refused.
Known limits
- Oracle, SQL Server and MongoDB have update files from 4.3.3 on; a site on them with an older release installs the
newsletter tables fresh. The CI (
.github/workflows/engines.yml) runs every engine; its last results are in the pull request that added it. - Tracking, SMS, rate limits and mail-in are off until you switch them on.
- On a kernel older than 6.0.15 the extension does not run.
- The content tree shows the newsletter classes with Bootstrap icons only on a kernel whose icon operator falls back
to the icon theme's own mapping when a file of the extension's
icon.iniis missing in the theme; an older kernel shows the Crystal image or the default icon there.
Troubleshooting
- The preview or the test mail is empty: set
[NewsletterSettings] PhpClito the PHP binary of the web server ifautodoes not find it; aphpon the PATH can be another PHP version. - No mails arrive: check the transports; with
filethey are written toFileTransportMailDir, not sent. Run./console ext:cjw_newsletter:statusfor the outbox and the problems found. - Links or images in mails point to the wrong host: set
[SiteSettings] SiteURLof the siteaccess that renders the newsletter. - The Newsletter tab is missing: check that the extension is active, the autoloads were regenerated and the caches
cleared, and that a siteaccess
menu.ini.append.phpdoes not replace the tab list. The dashboard behind the tab needsnewsletter/index.
The 4.0 manual (doc/cjw_newsletter_documentation.pdf) still describes the content classes, lists, editions and
sending in detail; doc/README.md lists all guides.
Contributing
Issues and pull requests are welcome at https://github.com/se7enxweb/cjw_newsletter. The tests are in tests/.
A release lists the checksums of its files in share/filelist.md5.
License
GNU General Public License v2.0 or (at your option) any later version. See LICENSE.
Credits and history
CJW Newsletter was created in 2007 by the CJW Network (coolscreen.de, JAC Systeme and Webmanufaktur) for eZ Publish, the system Exponential grew out of. 7x maintains it for Exponential and added the 4.2 features.