Skip to content

docs: Clarify that a Segment Email's publish up date is optional for scheduled broadcasts#836

Draft
promptless-for-oss wants to merge 1 commit into
mautic:7.2from
Promptless:promptless/segment-broadcast-null-publish-up-7.2
Draft

docs: Clarify that a Segment Email's publish up date is optional for scheduled broadcasts#836
promptless-for-oss wants to merge 1 commit into
mautic:7.2from
Promptless:promptless/segment-broadcast-null-publish-up-7.2

Conversation

@promptless-for-oss

Copy link
Copy Markdown
Contributor

Open this suggestion in Promptless to view citations and reasoning process

Corrects the 'Send scheduled broadcasts' cron job section, which stated a Segment Email must have a publish up date to be broadcast. After the optional-start-date change, a published Segment Email with no publish up date is broadcast immediately; a future publish up date holds it back; inactive Emails are never sent. Aligns docs with mautic/mautic#16493 (fixes #16165).

Trigger Events


Tip: Configure how Promptless handles changelogs in Agent Settings 📋

A published Segment Email with no publish up date is now broadcast
immediately, matching how it's shown as active in the UI. The cron docs
previously stated a publish up date was required, which is no longer true.

Refs mautic/mautic#16493, mautic/mautic#16165
Starting with Mautic 2.2.0, it's now possible to use cron to send scheduled broadcasts for Channel communications. The current only implementation of this is for Segment Emails. Instead of requiring a manual send and wait with the browser window open while AJAX batches over the send, it's possible to use a command to initiate the process.

The caveat for this is that the Email must have a published up date and be currently published - this is to help prevent any unintentional Email broadcasts. Just as it was with the manual/AJAX process the message is only sent to Contacts who haven't already received the specific communication. This command sends messages to Contacts added to the source Segments later, so if you don't want this to happen, set an unpublish date.
The Email must be active for Mautic to broadcast it. The 'Publish at (date/time)' field is optional and acts as a scheduled start date. If you leave it empty, Mautic broadcasts the Email as soon as you turn it on. If you set a future date, Mautic holds the Email back until that date and time. Mautic never broadcasts inactive Emails, which helps prevent unintentional Email broadcasts. Just as with the manual or AJAX process, Mautic only sends the message to Contacts who haven't already received the specific communication. This command sends messages to Contacts added to the source Segments later, so if you don't want this to happen, set an 'Unpublish at (date/time)' date.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR #16493 changes EmailRepository::getPublishedBroadcastsQuery() to allow a null publish up date, so a published Segment Email with no publish up date is now broadcast immediately (a future date still holds it back). This makes the prior doc statement that the Email "must have a published up date" incorrect, so I rewrote the paragraph to describe the publish up date as an optional scheduled start date.

Source: mautic/mautic#16493

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant