omnismtp/sendinblue

Sendinblue driver for SMTP processing library

dev-master 2020-07-24 01:18 UTC

This package is not auto-updated.

Last update: 2024-05-11 05:23:49 UTC


README

An SMTP driver for OmniSmtp Processing library for PHP

Usage

<?php

$sendinblue = OmniSmtp::create(\OmniSmtp\SendInBlue::class, 'test-api-key');

$sendinblue->setSubject('The Mail Subject')
           ->setFrom('john.doe@example.com')
           ->setRecipients('jane.doe@example.com', 'test@email.com')
           ->setContent('<p>Hello From SendInBlue OmniSmtp</p>')
           ->send();