So for example, if I wanted to give my list subscribers an email
highlighting a particular sale item, and I wanted to provide some
details of that item (name, description, price, image, link to the
website, etc) it appears that the only way for me to do that is to
either pass in the html content, or specify a URL where MailChimp
could pull the HTML content from.
I understand that it might be possible to use mergevars, but it's not
really subscriber data that I want to pass in.
Do I have that right that there is no way for me to pass in name-value
variables for the campaign email?
Thanks.
If you don't need subscriber specific data, then I'd suggest creating
a template with one or more sections that you can populate with the
content when you create the campaign.
jesse
Per your other suggestion, what do you mean relative to creating
templates with one or more sections? Are you meaning like "header",
"body", and "footer", or can you create sections like
"item_description" or "primary_splash". You know content that is
entirely general and meaningful only to how we've structured our email
template?
thanks,
The documentation for our template language is here:
http://www.mailchimp.com/resources/email-template-language/
A discussion on inspecting and using templates via the API is here:
http://groups.google.com/group/mailchimp-api-discuss/browse_thread/thread/2fc50342e5a3544e
The 2 limitations I know of when using those are:
* You can't easily retrieve the existing content for a section
* The more advanced section types (editable images and repeatable
sections) aren't directly supported and not documented (though it
maybe possible to figure them out)
Take a look through that and post back if you have further questions
or issues.
jesse