Easy way to interact with SmartEmailing API from PHP
The best way to install this component is using Composer:
$ composer require blueweb/smartemailingThen it is required to add the following lines to config.neon:
parameters:
smartemailing:
username: <smartemailing_username>
token: <smartemailing_api_token>
services:
- Blueweb\SmartEmailing(%smartemailing.username%, %smartemailing.token%)
importContact($contactlists, $properties, $customfields, $purposes, $settings)
Insert a new contact into SmartEmailing lists. $contactlists, $properties, $customfields, $purposes and $settings are arrays.