I'm getting a disparity between sending an email from the email template testing page on
mailchimp.com, and the same email sent via a post to campaignSendTest.
Each is sent with exactly the same html content.
When the content is sent as a test from the campaign template design and testing pages in
mailchimp.com the resulting email comes out OK in gmail.
However, when the content is sent from campaignSendTest, the resulting email is rendered incorrectly in gmail.
The styles are done in the head of the template, not in the actual html elements they apply to. Could this be the reason? Does the web-site based template testing page change the styles to be part of the elements before sending, and campaignSendTest does not? Running our template through this
http://beaker.mailchimp.com/inline-css appears to fix this problem.