Magento 3.2.1. In forgot admin password template it says support@example.com and in the sender it says "owner"

I know I can override the html, I just want to know how to change the variables, aren't those system wide variables? Where are they located? not in customer store -> customer.


The default is for Magento to use the "Customer Support" email identity when sending the forgot password email. The sender name and email for that identity can be changed from the admin at the following location:

Stores > Settings > Configuration > General > Store Email Addresses

System Configuration - Store Email Addresses

  • Thank you, this this the right answer – Lynob Jun 27 '19 at 13:44

Took me a little while to track functionality down


Which traces through to this


     * Send a notification.
     * @param string $templateConfigId
     * @param array $templateVars
     * @param string $toEmail
     * @param string $toName
     * @throws MailException
     * @return void
    private function sendNotification(
        string $templateConfigId,
        array $templateVars,
        string $toEmail,
        string $toName
    ): void {
        $transport = $this->transportBuilder
                'area' => FrontNameResolver::AREA_CODE,
                'store' => Store::DEFAULT_STORE_ID
            ->addTo($toEmail, $toName)

So it's whatever sets this config value:



So store > configuration > admin (or if it's missing that was the intention)


Wasn't sure which variables

Hard coded array


Passed to template


  • Thank you so much for your answer. store > configuration > advanced > admin, I see the template for forgot password, but I don't see where I can change those variable. Do you think they're not variables? They're hardcoded in the template? I don't think so, let me check – Lynob Jun 26 '19 at 22:32
  • Wasnt sure what you meant by variables. I've Updated the answer with more detail. – Dominic Xigen Jun 26 '19 at 23:06
  • strange i can't see support@example still, imgur.com/RaGNoBS like in the screenshot. I'll just modify the template. – Lynob Jun 27 '19 at 1:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.