Skip to content

martinknor/SmartEmailing

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 

Repository files navigation

SmartEmailing

Easy way to interact with SmartEmailing API from PHP

Installation

The best way to install this component is using Composer:

$ composer require adt/smartemailing

Then it is required to add the following lines to config.neon:

parameters:
	smartemailing:
		username: <smartemailing_username>
		token: <smartemailing_api_token>

services:
	- ADT\SmartEmailing(%smartemailing.username%, %smartemailing.token%)

Usage

contactInsert($email, $contactlists, $properties, $customfields)

Insert a new contact into SmartEmailing lists. $contactlists, $properties and $customfields are arrays.

contactUpdate($email, $contactlists, $properties, $customfields)

Update an existing contact in SmartEmailing lists. $contactlists, $properties and $customfields are arrays.

contactGetOneByEmail($email)

Get an exisitng contact by email.

contactGetOneByID($email)

Get an exisitng contact by user's ID.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%