This project is not covered by Drupal’s security advisory policy.

This module is an integration with the Infomaniak newsletter tool.

Dependencies

The Drupal 8/9 version of Newsletter infomaniak require "infomaniak/client-api-newsletter" !

Getting Started

Install the module with composer.

$ composer require 'drupal/newsletter_infomaniak:^1.0'

Don't forget to enable the module and configure it !

You must specified 2 fields inside the configuration (admin/config/newsletter_infomaniak) :

  • Infomaniak API key - Your API KEY on the infomaniak newsletter tool.
  • Infomaniak API secret - Your API SECRET on the infomaniak newsletter tool.

How to use ?

Subscription

\Drupal::service('newsletter_infomaniak.manager')->add($mail, $merge_fields, $list_id)

Unsubscription

\Drupal::service('newsletter_infomaniak.manager')->remove($mail, $list_id)

Project information

Releases