如何格式化mailchimp的$ email数组 [英] How to format $email array for mailchimp

查看:222
本文介绍了如何格式化mailchimp的$ email数组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以,我想通过mailchimp api发送一封电子邮件,关于MCAPI类的文档及其方法似乎相当简单,到目前为止。我很难弄清楚mailchimp对于电子邮件数组的期望...我知道它需要头信息,来自,身体等,但是它需要什么格式?有没有人知道手头 - 或者链接到正确的文档?非常感谢提前!

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, 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!

推荐答案

啊,你可以看到以前的代码块(及其关联的更正)在通过MailChimp发送电子邮件

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

你想要的具体块(我想)是这样的: http:// apidocs。 mailchimp.com/how-to/transactional-campaigns.php 。它通过使用伪交易活动发送一次性电子邮件的想法。

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.

这篇关于如何格式化mailchimp的$ email数组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆