I have a customer that is using the email marketing app. He creates campaigns for his clients and he needs to personalize emails for each one adding tittle and name.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
Here is a workaround to insert dynamic fields in the email templates using the Dynamic Placeholder Generator and a piece of code.
Previous configuration: be sure you are using the debug mode.
Identify the related field you want to use. E.g. contact name
Use the Dynamic Placeholder Generator to generate the Placeholder expression.
3. If you need to display the placeholder in the email subject, use the Placeholder Expression as it appears.
4. If you need to display the placeholder in the mail body:
Go to the code and insert the following piece of code in the place you need.
b. Add the placeholder expression without the brackets and change the contenteditable as you need.
c. Go back to the normal view, save and test it!
You are ready to personalize your mass mailing emails!
Few reminders:
It is not possible to use the Dynamic Placeholders in V15 as we used to do it in V14.
We can still use dynamic fields (expressions). For example: contact name, the SO or PO total amount. Therefore, it is a technical procedure.
Remember that adding a conditional (if, elif, etc) writing code, it is considered a development. Please don't do it!
If the number of sent emails is over 400 per day or your customer has a high email bounce rate you should consider configuring an external email server.
V15 can't using this feature?
We want some dynamic field insert into the email content, not only for email object.
looks like t elements are not rendered to thml in this process
so think will not work like that in 15
Just tested this in v16 (on Odoo.sh), and works fine with t-element in html-body. Still needs to work in debug-mode to edit source-code. Would be nice if mailbuilder could facilitate this.
I need to add placeholder in my email body without using any coding part. There is any other method is available?
I don't want to use the tag