Statistics
29
1
1
116d
Badges
Dependencies

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.

Is this addon outdated? Did you find an issue? Please report it.

Componette Componette admin@componette.com