Hey all, I'm having a great time integrating Mandrill into our web app, but am having troubles getting the mc:edit fields to populate. What happens when I execute my code is that I receive my templatized email, but all the placeholders for my mc:edit fields remain and my "template_content" isn't used. Everything else works as expected (to, from, subject, etc). Any help would be greatly appreciated! I expect that I have just done something silly, but a fresh pair of eyes would really help :-).
Here is a snippet from the template (imported from MailChimp):
<h1>Dear <strong mc:edit="name">John Doe</strong>,</h1>
<p mc:edit="message">Nulla vitae elit libero, a pharetra augue. Vestibulum id ligula porta felis euismod semper.</p>
And here is my request (made via Rails with the mandrill gem - sorry for the ruby-style json hash!):
{:message=>{:html=>"", :text=>"", :subject=>"News: We now have transactional emails!", :from_email=>"
ques...@mydomain.com", :from_name=>"MyDomain", :to=>[{:name=>"Spencer", :email=>"
spe...@emailme.com"}], :headers=>{}, :track_opens=>true, :track_clips=>true, :auto_text=>true, :url_strip_qs=>true, :bcc_address=>""}, :template_name=>"Standard Message", :template_content=>[{:name=>"message", :content=>"Curabitur blandit tempus porttitor."}, {:name=>"name", :content=>"Spencer"}]}