cancel
Showing results for 
Search instead for 
Did you mean: 

Using mandrill Custom Header Reference

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

Using mandrill Custom Header Reference

Hello,

 

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:

https://mandrill.zendesk.com/hc/en-us/articles/205582117-How-to-Use-SMTP-Headers-to-Customize-Your-M...

 

Can I add in the header template :

<?php

$headers = $this->getHeaders();

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

?> 

 

Any guidance would be greatly appreciated.

Thanks