-
Notifications
You must be signed in to change notification settings - Fork 12
Notifications
A notification are a reoccurring events that are usually triggered by cron jobs. Notifications can be sent at anytime and can contain any kinds of content you need, and can be sent with any service. Notifications have 3 different components: the notification type, the notification schedule, and the service used to send the notification.
A notification type fundamentally changes each notification but its basic job is to determine what kind of content should be sent with each notification. Each notification type can provide unique parsing routines, settings, and arbitrary logic to do whatever you need. A notification type can have its own settings fields and UI. Developers can create their own notification types to custom things that fall outside the scope of what inherently provided by Postmaster.
A notification schedule is what is used to determine when a notification should send. If the notification type's job is to determine what the notification should send, then notification schedule determines when it should be sent and how often. Like notification types, notification schedules have their own unique settings and UI's. Developers can create their own notification schedules for more advanced scheduling.