Email template variables not being substituted (v26.7.14.3656)

Hi everyone,

I’m hoping someone can tell me whether I’m missing something or whether I’ve found a bug.

Version

  • Manager Desktop
  • Version 26.7.14.3656
  • Fresh installation (installed two days ago)

SMTP

SMTP is configured correctly.

  • Test email succeeds.
  • Sales invoices send successfully.
  • PDF invoice is attached correctly.

So the email system itself appears to be working.

Problem

The email template variables are not being substituted. They are sent literally in the email.

For example, using the placeholders shown in the documentation:


Subject:
{BusinessName} Tax Invoice {InvoiceNumber}

Body:
Hi {CustomerName},

Please find attached Tax Invoice {InvoiceNumber} for {TotalAmount}.

The received email contains exactly:


{BusinessName} Tax Invoice {InvoiceNumber}

Hi {CustomerName},

Please find attached Tax Invoice {InvoiceNumber} for {TotalAmount}.

I also tried the Liquid-style syntax mentioned in some forum posts:


{{ reference }}
{{ business.name }}

These are also sent literally.

For example:


Tax Invoice {{ reference }} from Amrita Park Meadery

arrives exactly as:


Tax Invoice {{ reference }} from Amrita Park Meadery

What I’ve checked

  • SMTP authentication works.
  • Test emails work.
  • Invoice emails work.
  • PDF attachment is correct.
  • Template changes are definitely being saved (changing normal text changes the email).
  • Only the variables are not being substituted.

Am I using the wrong placeholder syntax for version 26.7.14.3656, or is this a known issue?

Thanks in advance.

1 Like

A post was merged into an existing topic: Email template variables not working