PHP code example of istrix / sendgrid-nette

1. Go to this page and download the library: Download istrix/sendgrid-nette library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

istrix / sendgrid-nette example snippets


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