Getting an issue with email_content property. When creating object it is defined and when dumping the object I can see the property. $campaign = new Campaign();
$campaign->name = 'A name';
$campaign->subject = 'a subject';
$campaign->from_name = 'a name mail';
$campaign->from_email = 'firstname.lastname@example.org';
$campaign->greeting_string = '';
$campaign->reply_to_email = 'email@example.com';
$campaign->text_content = '<html><body>' . $message . '</body></html>';
$campaign->email_content = '<html><body>' . $message . '</body></html>';
$campaign->email_content_format = 'HTML';
$campaign = $this->cc->emailMarketingService->addCampaign(ACCESS_TOKEN, $campaign); After the addCampaign I get the error email_content: Property is required but not found.
... View more
Does ConstantContact have a way to send 1-on-1 mails without the need of creating a list/campaign each time throught the SDK? Have smtp? For example, every friday I will send mails to users but the content will vary, by user, within the mails. With the current functionality that I understand, I would need to create one campaign per user and per user a list. Describing the situation: Every friday I will send a mail to the users that decide to have a mail on friday with X parameters each user defines. User 1 has user1.X parameters. User 2 has user2.X parameters(different from user 1 but the "template" of the mail is the same).
... View more