Log in
Model

EmailNotification

Magento\Customer\Model\EmailNotification

What it does

This class handles all customer-related email notifications in Magento 2, including password resets, email/password changes, new account creation, and account confirmation emails.

Developers use this class when they need to trigger customer notification emails programmatically, such as after customer account modifications or during custom authentication flows.

It automatically selects appropriate email templates based on the notification type and customer configuration settings.

Public Methods

  • credentialsChanged()
  • passwordReminder()
  • passwordResetConfirmation()
  • newAccount()