mailerlite/mailerloop

There is no license information available for the latest version (dev-master) of this package.

Maintainers

Details

github.com/notrix/mailerloop

Source

Installs: 95

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Language:Java

dev-master 2013-09-02 16:54 UTC

This package is not auto-updated.

Last update: 2024-12-16 16:35:49 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.

addAttachment( $filename, $content )

send()

Unused methods:

setFromName( $name )

setFromEmail( $email )

setType( $type )