Newsletter Module
Config
This configuration model provides access to newsletter module settings. Developers use this class to check if the newsletter functionality is enabled...
CustomerSubscriberCache
This class provides a caching mechanism for newsletter subscribers indexed by customer ID. Developers use it to avoid repeated database queries when r...
Data
This helper class provides utility methods for generating newsletter-related URLs in Magento 2. Developers use it to create confirmation and unsubscri...
GuestSubscriptionChecker
This class checks whether a guest (non-logged-in user) is subscribed to the newsletter by their email address. Developers would use this when they nee...
Model\ResourceModel\Grid\Collection
This collection class retrieves newsletter problem data for display in the admin grid interface. It extends the base Problem collection and automatica...
Model\ResourceModel\Problem\Collection
This collection class retrieves and manages newsletter problem records, which track issues with newsletter deliveries to subscribers. Developers use t...
Model\ResourceModel\Queue\Collection
This collection class manages and retrieves newsletter queue records from the database. Developers use it to load newsletter queues with related infor...
Model\ResourceModel\Subscriber\Collection
This collection class manages and retrieves newsletter subscriber data from the database. Developers use it to filter, sort, and load subscriber recor...
Model\ResourceModel\Template\Collection
This collection class manages and retrieves newsletter template data from the database. Developers use it to load, filter, and display newsletter temp...
Model\SubscriptionManagerInterface
This interface defines the contract for managing newsletter subscription operations in Magento 2. Developers implement or use this interface to subscr...
Observer
This observer class handles the scheduled sending of newsletter emails in Magento 2. It processes queued newsletters by retrieving up to 3 newsletter...
Problem
This class represents a newsletter delivery problem or error that occurred when sending to a specific subscriber. Developers use this model to track a...
Queue
This class manages the newsletter queue system in Magento 2, handling the sending of newsletter emails to subscribers. Developers would use this class...
Queue\Options\Status
This class provides a standardized list of newsletter queue status options for use in admin forms and grids. Developers use this class when they need...
Queue\TransportBuilder
TransportBuilder extends the core framework email transport builder specifically for newsletter queue functionality. Developers use this class to cons...
RemoveSubscriberFromQueueLink
This class removes a subscriber from the newsletter queue before their newsletter has been sent. Developers would use this when a customer unsubscribe...
ResourceModel\Problem
This resource model manages database operations for newsletter problems (bounced emails, delivery failures, etc.) in the newsletter_problem table. Dev...
ResourceModel\Queue
This resource model manages the newsletter queue database operations, including adding and removing subscribers from email queues and linking queues t...
ResourceModel\Subscriber
This resource model handles database operations for newsletter subscribers in Magento 2. Developers use it to load subscriber data by email, customer...
ResourceModel\Template
This resource model handles database operations for newsletter templates in Magento 2. Developers use this class to validate template uniqueness, chec...
Session
This class manages session data specifically for newsletter-related operations in Magento 2. Developers use it to temporarily store and retrieve succe...
Subscriber
This class manages newsletter subscribers in Magento 2, handling subscription operations like subscribing, unsubscribing, and confirming email subscri...
SubscriptionManager
This class manages newsletter subscription operations for both guest users and registered customers in Magento 2. Developers use it to programmaticall...
Template
This class manages newsletter email templates in Magento 2. Developers use it to create, validate, and process newsletter templates with dynamic conte...
Template\Filter
This class filters and processes template content for newsletter emails, specifically handling widget directives. Developers use it to ensure widgets...