Componette

Componette

honzagula

honzagula / sendgrid-nette

Sendgrid integration for Nette mailer

download-cloud-line composer require istrix/sendgrid-nette

sendgrid-nette

Sendgrid integration for Nette mailer

Install

composer require istrix/sendgrid-nette

Configuration

In config add:

parameters:
	sendgrid:
		key: 'yourkey'

services:
	nette.mailer: Istrix\Mail\SendgridMailer(%sendgrid.key%, %tempDir%)

Usage

Just inject IMailer and send message...

	/** @var IMailer @inject */
	public $mailer;
	
	protected function sendMail() {
		...
		$this->mailer->send($message);
		...
	}
	

No release at this moment. Try to create first one.

bar-chart-fill

Statistics

download-cloud-fill
2199
star-fill
2
bug-fill
3
flashlight-fill
7.1y
price-tag-2-line

Badges

guide-fill

Dependencies

php (>=5.3.0)
Componette Componette felix@nette.org