X-OL email header

Hi,

I wanted to do X-OL email header for background data. im using Email->Content->Properties to put type, value and content and I insert 3 items. But unfortunately, the X-OL email header for 3 items are not display/produced at receiver emel when i opened view->message details. Any suggestion.

Thank you.

Hello @azlah ,

Adding a header to an email section is possible by inserting a Control script to which something like the below JavaScript code is applied.

var headerObj = {
	"category": ["invoices"]
};

merge.context.sections["Content"].addHeader("X-SMTPAPI", JSON.stringify(headerObj));

The main part here is the addHeader() function that can be used for setting custom email headers.