Skip to content

How to add bcc for forgot password emails in Magento 2

I want add bcc for forgot password email in magento 2.

When i checked the code – vendormagentomodule-customerControllerAccountForgotPasswordPost.php in execute method we have this

try {
       $this->customerAccountManagement->initiatePasswordReset(
                    $email,
                    AccountManagement::EMAIL_RESET
                );
} 

How can i add Bcc for this mail.

Thanks!