How to create custom email template in magento 2

Published On: 6 August 2018.By .
  • Digital Engineering
  • Ecommerce
  • General

First we have to create a field in configuration ‘system.xml’ in folder app/code/Auriga/Email/etc/adminhtml/,  from where we can select which email template will use.

Now create a email template configuration file at app/code/Auriga/Email/etc location file name should be email_templates.xml

Now create email template file at app/code/Auriga/Email/view/adminhtml/email as name which you given in email_template.xml file . Here we will use  “custim_email.html” name for email template

Now Call this template from where you want to call it.

 

Related content

That’s all for this blog

Go to Top