Skip to content
  1. Extras
  2. Sendex
  3. Interface
  4. Subscriptions

Subscriptions

The Subscriptions tab is where you create newsletters, manage subscribers, and trigger sends.

Open Components → SendexSubscriptions.

Creating a newsletter

  • Click Create, fill in the form, and save

Creating a newsletter

Newsletter fields

FieldRequiredDescription
NameyesName in the manager
TemplateyesMODX template for the letter body
Email subjectyesSubject line
From emailyesFrom address
Reply-to emailyesReply-To
Sender nameyesDisplay name
EnabledyesWhether the newsletter is active
DescriptionnoText in the subscribe form
ImagenoNewsletter image URL

Creating a newsletter

Inactive newsletters are hidden on the site unless the snippet is called with &showInactive=1.

Grid actions

ActionDescription
EditEdit fields and subscribers
Enable / DisableToggle active
Send to subscribersBuild the queue and send to all subscribers immediately
RemoveDelete the newsletter and related queue rows (cascade)

Sending skips inactive and blocked MODX users (user_id > 0).

Send to subscribers calls addQueues() and immediate flush() — fine for small lists. For thousands of recipients build the queue separately and use cron — see Email queue.

Subscribers

Open a newsletter → Subscribers tab.

Adding subscribers manually

Subscribers

Add one user

Pick a MODX user from the dropdown. Only users with a profile email are listed.

Subscribers

Subscribers

Add a group

On Subscribers tab pick a MODX user group. Only active users with Profile.blocked = false are added. Per-row sxOnSubscribe events are not fired (bulk operation).

Информация

To log every row on bulk subscribe use a subscribe() loop via PHP API, not the manager group button.

Remove a subscriber

Context menu → Remove. Calls unSubscribe with source mgr and fires unsubscribe events.

Export subscribers

The Export button on the subscribers tab downloads CSV via the manager connector (not a public URL). Requires edit_document.

Export columns: sendex_export_fields. Hide the button: sendex_hide_export_button.

Permissions

ActionPermission
View Sendex pageview_sendex or view_document
Create newsletternew_document
Edit, subscribers, export, sendedit_document

Информация

The code checks view_sendex, but transport does not ship a separate policy. By default view_document is enough.