kimbalt/mailerloop

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

Installs: 57

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 7

Forks: 0

Language:Java

dev-master 2016-10-23 14:07 UTC

This package is not auto-updated.

Last update: 2024-05-07 05:26:05 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 )