1-866-284-2541  |  Registered Users LOGIN 

MailChimp Home Learn More Pricing Resource Center Blog Free Trial

MailChimp API
Back to Documentation Overview

campaignContent

public static campaignContent(string uid, string cid)

Get the content (both html and text) for a campaign, exactly as it would appear in the campaign archive


Section:
Campaign Related

Parameters:
uid the id for your user account. Get by calling login($user, $pass)
cid the campaign id to get content for (can be gathered using campaigns($id))

Returns:
struct   -  Struct containing all content for the campaign (see Returned Fields for details

Returned Fields:
string html The HTML content used for the campgain with merge tags intact
string text The Text content used for the campgain with merge tags intact
Add New Note User Contributed Notes
campaignContent
No notes, yet... Will you be the first??

Email Marketing Resources  |   Free HTML Email Templates  |   Partners  |  Find an Expert  |   Add-ons  |   API  |   Plugins  |   Blog  |  Demos  |  Surveys  |   Webinars  |   Subscribe to our free Email Marketing Tips Newsletter

New Features:  RSS to Email  |   A/B Split Testing Emails  |   Google Analytics Integration  |   Segmentation

Truste Certified Privacy Click to verify BBB accreditation and to see a BBB report ESPC Members MAAWG Email Experience Council Members HACKER SAFE certified sites prevent over 99.9% of hacker crime.
WebAward Winner W3 Award Webby Award Nominee As featured on MSNBC's Your Business Program