In this article, we will explain how to test your emails that were personalized with the Brevo Template Language to make sure all content is displaying correctly.
Good to know
- Learn how to personalize your emails using the Brevo Template Language in our dedicated article About Brevo Template Language.
- If you encounter any issues while testing your emails, refer to Troubleshoot your emails personalized with Brevo Template Language to learn how to fix the most common issues.
🧪 How to test an email?
After creating an email template or campaign that contains contact attributes and transactional parameters placeholders, you may want to make sure they are correctly replaced by your contacts and events information.
To test your personalization, you can either:
Send your email campaign to your test list before you send it to your customers to check that everything works exactly like you want it to work and that the design of your campaign looks great when clients receive them. You can send your test email directly from the campaign creation flow or the Drag & Drop Editor, or from the Email campaigns list. To learn more, check our dedicated article Preview and test your email campaign.
The Send a test email option may not replace your placeholders depending on:
- The type of email your are creating (campaign or template),
- The type of placeholders you inserted in your email (contact attributes or transactional parameters).
|Email campaign||Email template|
|If there is an existing email address and attribute value in your Brevo contacts list, the value will be replaced by contact's information.|
The parameter values will be populated in your test email only in the following cases:
The parameter values in your test email will appear as blank since params are populated at the time of sending when the API call is received or when the Automation workflow is triggered by an event.
You can preview your email campaign before sending it to your recipients. You will be able to preview your email campaign as a customer, to see if the personalizations you have added are working (contact attributes, block visibility...). You can also preview your campaign on different email clients to make sure it will always look the way you want, no matter which email client it is received on. To learn more, check our dedicated article Preview and test your email campaign.
To reliably test an email containing transactional parameters placeholders, we recommend creating the email template or campaign as you would normally do, and then sending the email template or campaign using the appropriate API call:
Your API call should then identify you as the recipient and include actual data for the transactional parameters included in your email template or campaign.
⏩ What's next?
🤔 Have a question?
💬 Was this article helpful?
Thank you! Your feedback helps us improve this article for everyone.