Download the PHP package nyx-solutions/yii2-nyx-sendgrid without Composer
On this page you can find all versions of the php package nyx-solutions/yii2-nyx-sendgrid. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nyx-solutions/yii2-nyx-sendgrid
More information about nyx-solutions/yii2-nyx-sendgrid
Files in nyx-solutions/yii2-nyx-sendgrid
Package yii2-nyx-sendgrid
Short Description Yii2 Mailer extension for SendGrid with batch mailing support.
License MIT
Homepage https://github.com/nyx-solutions/yii2-nyx-sendgrid
Informations about the package yii2-nyx-sendgrid
Yii2 NYX SendGrid
Yii2 Mailer extension for SendGrid with batch mailing support.
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require section of your application's composer.json
file.
Then configure your mailer
component in your main-local.php
(advanced) or web.php
(basic) like so:
Do not forget to replace apiKey
with your SendGrid API key. It must have permissions to send emails.
Usage
Single Mailing
Batch Mailing
If you want to send to multiple recipients, you need to use the below method to batch send.
NOTE: SendGrid supports a max of 1,000 recipients. This is a total of the to, bcc, and cc addresses.
All versions of yii2-nyx-sendgrid with dependencies
nyx-solutions/yii2-nyx Version ~5.0.0
sendgrid/sendgrid Version ~5.4