When I use a template in wpMandrill, what tells Mandrill to replace that text with the message from WordPress?
Is there a certain word phrase that I need to use?
For example, http://wpmu.org/pretty-and-responsive-wordpress-emails/#comment-143871
If you use Premium WPMU Dev’s HTML Email Plugin, the placeholder “MESSAGE” will be replaced by the message that WordPress is sending to the recipient.
For Mandrill, what do I use?
All you need is a HTML container with an editable region called ‘main’:
This thread might help you understand Mandrill templates and Merge Vars and how to use them in wpMandrill:
Also, this KB article has interesting information on editable regions:
Do I need the “div tags” or can I just have mc:edit=”main” anywhere?
I don’t know how to add content to a template, for user registration email. Can you please tell me what tag to add?
I try <div mc:edit=”main”></div> but no result.
If a don’t select any template, the email is sent ok, with the right text content.
But if I select a template, no custom text is added to the message.
Use this as a starting point please:
- The topic ‘Using Template in wpMandrill’ is closed to new replies.