开发者

How to format $email array for mailchimp

开发者 https://www.devze.com 2023-03-03 08:52 出处:网络
So, I\'m trying to send an email via the mailchimp api... the documentation regarding the MCAPI class and its methods seems fairly straight-forward, so far. I\'m having a hard time figuring out what m

So, I'm trying to send an email via the mailchimp api... the documentation regarding the MCAPI class and its methods seems fairly straight-forward, so far. I'm having a hard time figuring out what mailchimp is expecting for the email array.... I know it needs header info, to, 开发者_StackOverflow中文版from, body etc... but what is the format that it wants? Does anyone know off hand - or have a link to the proper docs? Much thanks in advance!


Ah, you can see a previous chunk of code (with its associated corrections) at Send an email via MailChimp.

The specific chunk (I think) you want is this: http://apidocs.mailchimp.com/how-to/transactional-campaigns.php. it goes through the thinking behind sending one-off emails using pseudo-transactional campaigns.


If I got this right, you're supposed to work with email-campaigns. There is a pretty good example and explanation on their site: http://apidocs.mailchimp.com/1.3/campaigncreate.func.php

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号