Latest News and Updates

Magento custom email with html email template


Step 1:

Create a html template and send mail using

For Magento Custom Email with html email template ,Please follow the below steps
Step1:first define html template in your config.xml so  add the below code first in your module config.xml.


Here vendor_create_account_email_template is always unique…  and  vendor_account_new.html is html file for email.



Step2:Get Current store id



Step3: Sender() parameters should be in array format array(‘email’=>(string) $senderemail,’name’=> (string)’$sendername);


Step4: And code of html which are located in app\locale\your language\template\email\vendor_account_new.html html


Share this post