Search by

drupal / mutamad_newsletter

Drupal-Infrastructure

A newsletter for Mutamad: visitors subscribe from a content page's card — "Stay always informed" — and confirm by email; editors write issues, an approver sends them. On Simplenews, in Arabic and English.

Package info

git.drupalcode.org/project/mutamad_newsletter.git

Homepage

Issues

Type:drupal-recipe

pkg:composer/drupal/mutamad_newsletter

Statistics

Installs: 61

Dependents: 1

Suggesters: 0

1.0.x-dev 2026-11-12 17:42 UTC

This package is not auto-updated.

Last update: 2026-11-16 06:01:51 UTC


README

Mutamad Newsletter — النشرة البريدية

Mutamad Newsletter

A newsletter for Mutamad: visitors subscribe from a content page's card — "Stay always informed", as Saudi government sites have it — and confirm by email; editors write issues, and an approver who did not write one sends it. On Simplenews, in Arabic and English.

Built and maintained by iSpectra — Imagine. Implement. Inspire. See iSpectra on drupal.org.

What it sets up

  • Simplenews, with one newsletter, Newsletter, open to every visitor. The Mutamad site template places its subscription form on the card of each news item, event, publication and knowledge article.
  • Double opt-in (PDPL Art. 6, consent): a subscription counts only once its owner confirms it from the email sent to the address given; one not confirmed in 7 days is deleted. Every newsletter carries its unsubscribe link.
  • Newsletter issues in the Mutamad workflow (NCA ECC 1-3-1).

Who does what

RoleNewsletter
VisitorSubscribes, confirms by email, unsubscribes from any issue
Content EditorWrites newsletter issues; submits them for review
Content ReviewerThe same; publishes and sends them — never their own
App Admin (IT)The newsletter, its From address and its subscribers

Installation

On a site not started from the Mutamad project template, add it with Composer first. Composer accepts an alpha only if the site's own composer.json allows it, so the command allows Canvas Translate, which this project needs and which has no stable release:

composer require drupal/mutamad_newsletter \
  'drupal/canvas_translate:^1.0@alpha'

Then:

drush recipe ../recipes/mutamad_newsletter

The newsletter is sent from the site's email address (Basic site settings); to send from another, apply the recipe with --input mutamad_newsletter.from_address=news@example.gov.sa, or change it later (Configuration → Web services → Simplenews → Newsletters). It must be an address of the entity's own domain that its mail relay may send for. Issues are sent by cron, 20 emails a run.

Requirements

Simplenews 4.1 and Mutamad Content Base (the roles, the workflow, and the Body field an issue is written in).

Licence

GPL-2.0-or-later.

Maintainers

iSpectra

Built and maintained by iSpectra (on drupal.org).