iContact mailing list integration plugin for the MyAdmin control panel, providing automated subscriber management and list synchronization via the iContact API. Handles account activation events and mailing list subscriptions, automatically registering contacts and managing list memberships through the iContact REST API.
- Automatic contact creation in iContact on account activation
- Mailing list subscription management via event-driven hooks
- Configurable API credentials through the MyAdmin settings panel
- Support for multiple list subscriptions (comma-separated list IDs)
composer require detain/myadmin-icontact-mailinglistThe plugin registers the following settings in the MyAdmin admin panel under Accounts > iContact:
| Setting | Description |
|---|---|
icontact_enable |
Enable or disable iContact integration |
icontact_apiid |
iContact API application ID |
icontact_apiusername |
iContact API username |
icontact_apipassword |
iContact API password |
icontact_clientid |
iContact client (account) ID |
icontact_clientfolderid |
iContact client folder ID |
icontact_lists |
Comma-separated list IDs for subscriptions |
The plugin listens on the following Symfony EventDispatcher events:
| Event | Handler | Description |
|---|---|---|
system.settings |
getSettings |
Registers plugin configuration fields |
account.activated |
doAccountActivated |
Creates iContact contact on account activation |
mailinglist.subscribe |
doMailinglistSubscribe |
Subscribes an email address to configured lists |
composer install
vendor/bin/phpunitThis package is licensed under the LGPL-2.1 license.