I am trying to send an email with dynamic data which is array format.
I have an email template:
NameSpace/modulename/view/adminhtml/email/email_template.html
And the phtml file path is: NameSpace/modulename/view/adminhtml/templates/email/template.phtml
Using this {{block type='core/template' area='adminhtml' template='email/replenish.phtml' }}
, I am calling phtml file in the email template.