Extension:SendGrid

The SendGrid extension allows MediaWiki to send emails through SendGrid API service.

Installation
You will have to run  in extensions/SendGrid/ folder so that composer can pick up the required SendGrid dependencies for the extension to run smoothly.

Configuration
You need to have an account on  and and a valid API key generated in order to successfully send emails via SendGrid. Instructions to generate an API key can be found in the SendGrid documentation.

Security Warning: Do not paste your SendGrid keys directly in your  as this will be a vulnerability making someone else to be able to use your account to send emails.

Configs on MW-Vagrant
Once your MW-Vagrant environment is setup correctly, do the following to get SendGrid to work properly with your new environment;
 * On your terminal, run:

In your SendGrid account settings, generate an API key. With a valid API Key, configure your API key in LocalSettings.php:

Test your settings
Go to  and send an email to your own address to verify that the extension is working. You'll receive an email from the address you inputted and check to see it's sent via the SendGrid API (you'll see; ).