Showing results for 
Search instead for 
Did you mean: 

Using mandrill Custom Header Reference

Using mandrill Custom Header Reference



I am using Mandrill as a SMTP.

It is successfully connected to Magento 2.


My question :

Is it possible to use Mandrill's custom header references  through Magento Email Templates.

For example, I have created custom templates in Mandrill that can be called upon by a customized field in the email header.

Usually it can be added the same way as the reply-to field.


I want to use the following functionality below:


Can I add in the header template :


$headers = $this->getHeaders();

$headers->addTextHeader('X-MC-Template', 'template_name');



Any guidance would be greatly appreciated.