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:
robm
August 16, 2023, 2:17pm
2
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.
robm
August 18, 2023, 6:58am
5
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
system
Closed
August 28, 2023, 6:13am
7
This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.