omnismtp/sendinblue

SMTP处理库的Sendinblue驱动程序

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

This package is not auto-updated.

Last update: 2024-09-28 06:59:54 UTC


README

PHP的OmniSmtp处理库的SMTP驱动程序

用法

<?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();