You are here

public function SendinblueManager::subscribeUser in SendinBlue 8

Same name and namespace in other branches
  1. 8.2 src/SendinblueManager.php \Drupal\sendinblue\SendinblueManager::subscribeUser()

Subscriber user.

Parameters

string $email: An email address of subscriber.

array $info: A data of subscriber.

array $listids: An array of list id.

File

src/SendinblueManager.php, line 627

Class

SendinblueManager
Basic manager of module.

Namespace

Drupal\sendinblue

Code

public function subscribeUser($email, array $info = [], array $listids = []) {
  $this->sendinblueMailin
    ->createUpdateUser($email, $info, [], $listids, NULL);
}