sarahman/sendgrid-plugin-for-october-cms

SendGrid plugin of sending email in OctoberCMS

v1.0.0 2018-09-30 06:33 UTC

This package is auto-updated.

Last update: 2024-02-29 03:11:49 UTC


README

SendGrid integration plugin

This plugin implements the SendGrid subscription form functionality for the OctoberCMS.

Usage Instruction

  • Clone this plugin repository and name it to plugins/sarahman/mailer.

  • Go to that folder and run this command:

composer install
  • Add the following code in the config/services.php file.
   'sendgrid' => [
       'api_key' => env('SENDGRID_API_KEY'),
   ]
  • Add the value of SENDGRID_API_KEY key in the .env file.

Configuration

In order to use the plugin you need to get the API key from your SendGrid account.

  1. In the OctoberCMS back-end go to the System / Settings page and click the Mail Configuration link.
  2. In the Mail Settings form,
    • Select the SendGrid option in the Mail method dropdown.
    • Enter the SendGrid API key in the SendGrid API Key text box.
    • Then submit this form.

That's it! Happy mailing!!!