mailerlite / mailerloop
There is no license information available for the latest version (dev-master) of this package.
dev-master
2013-09-02 16:54 UTC
Requires
- php: >=5.2.0
This package is not auto-updated.
Last update: 2024-11-18 16:10:31 UTC
README
Official PHP wrapper for MailerLoop API
Methods
setRecipient( $email [, $name = null ] )
'name' parameter is optional.
setApiKey( $apiKey )
setVariables( $variables )
setVariable( $name, $value )
setTemplate( $id )
setLanguage( $code )
addRecipient( $email, $variables [, $attachments = array() ] )
addRecipients( $recipients )
$recipients must be an array of arrays. each of recipient must have fields 'email' and 'variables'. Optionally each recipient can have 'attachments' field. Each attachment mush have 'filename' and 'content' fields.