You are here

public function SendinblueMailin::getUser in SendinBlue 7

Same name and namespace in other branches
  1. 7.2 includes/sendinblue.mailin.php \SendinblueMailin::getUser()

Get user by email.

Parameters

string $email: An email address.

Return value

array An array of response code.

File

includes/sendinblue.mailin.php, line 281
Rest class file.

Class

SendinblueMailin
Sendinblue REST client.

Code

public function getUser($email) {
  return $this
    ->get("user/" . $email, "");
}