Extension:SendGrid

The SendGrid extension enables MediaWiki to send emails through SendGrid's API service.

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

Configuration
You need to have an account on  and a valid API key in order to successfully send emails via SendGrid using this extension. Instructions to generate an API key can be found in the SendGrid API key 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 or perform other bad stuff.

Configuration on MediaWiki-Vagrant
Once your MediaWiki-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 inputed and check to see if it's sent via the SendGrid API (for example; ).