You are here

public function SendInBlueEmail::__construct in SendinBlue 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Mail/SendInBlueEmail.php \Drupal\sendinblue\Plugin\Mail\SendInBlueEmail::__construct()

SendInBlueEmailConstructor.

Allows to send SMTP emails with SendInBue API.

File

src/Plugin/Mail/SendInBlueEmail.php, line 44

Class

SendInBlueEmail
Defines the default Drupal mail backend, using PHP's native mail() function.

Namespace

Drupal\sendinblue\Plugin\Mail

Code

public function __construct(SendinblueManager $sendinblueManager, LoggerChannelFactoryInterface $logger_factory) {
  $this->sendinblueManager = $sendinblueManager;
  $this->loggerFactory = $logger_factory;
}