{contactfield=firstname} not placing contact first name in email campaign?

Your software
My Mautic version is: 4.2.0
My PHP version is:
My Database type and version is:

Your problem
My problem is: Using Builder to create email template
Hi {contactfield=firstname} | there, not placing contact first name in email campaign, email always comes Hi there,

These errors are showing in the log:

Steps I have tried to fix the problem:

How are you testing?

Are you sending the email via campaign or segment email to test? Using the send example or preview methods don’t merge data.

I assume there is a firstname captured to mautic for each recipient?

Tested with campaign (to segment) and contacts have first names.
It works if I send direct email to the same contact.

{contactfield=firstname | there}
removed the “| there” and seems to work now.

I sent an email with

Hi {contactfield=firstname|there},

And it worked as expected - name was merged and “there” was dropped. Check if you had spaces on either side of the | There should be no spaces.

You are correct, I had spaces

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.