You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I'm sending custom headers using SMTP relay, my mayljet transactional template is assigned correctly with the X-MJ-TemplateID but X-MJ-Vars variables are not included in the content of the template. Any idea what I'm doing wrong?
Code in PHPMailer:
$mail->addCustomHeader('X-MJ-TemplateID','xxxxx');
$mail->addCustomHeader('X-MJ-TemplateLanguage','true');
$mail->addCustomHeader('X-MJ-Vars','{"name":"xxx", "city:xxx"}');
The text was updated successfully, but these errors were encountered:
Hello @thber190356 @AntoineGuestin I've the same issue implementing it via Symfony: no way to get the Vars values in sent mail when other headers are OK :( @thber190356 did you finally found a solution ? thanks a lot
When I'm sending custom headers using SMTP relay, my mayljet transactional template is assigned correctly with the X-MJ-TemplateID but X-MJ-Vars variables are not included in the content of the template. Any idea what I'm doing wrong?
Code in PHPMailer:
$mail->addCustomHeader('X-MJ-TemplateID','xxxxx');
$mail->addCustomHeader('X-MJ-TemplateLanguage','true');
$mail->addCustomHeader('X-MJ-Vars','{"name":"xxx", "city:xxx"}');
The text was updated successfully, but these errors were encountered: