kimbalt / mailerloop
该包最新版本(dev-master)没有可用的许可信息。
dev-master
2016-10-23 14:07 UTC
Requires
- php: >=5.2.0
This package is not auto-updated.
Last update: 2024-09-24 07:27:16 UTC
README
MailerLoop API的官方PHP包装器
方法
setRecipient( $email [, $name = null ] )
'name'参数是可选的。
setApiKey( $apiKey )
setVariables( $variables )
setVariable( $name, $value )
setTemplate( $id )
setLanguage( $code )
addRecipient( $email, $variables [, $attachments = array() ] )
addRecipients( $recipients )
$recipients必须是一个数组数组。每个收件人必须具有'email'和'variables'字段。可选地,每个收件人可以具有'attachments'字段。每个附件都必须有'filename'和'content'字段。