sarahman / sendgrid-plugin-for-october-cms
SendGrid plugin of sending email in OctoberCMS
v1.0.0
2018-09-30 06:33 UTC
Requires
- php: >=5.5.9
- sendgrid/sendgrid: ^7.0
This package is auto-updated.
Last update: 2024-11-29 05:32:59 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.
- In the OctoberCMS back-end go to the System / Settings page and click the
Mail Configuration
link. - In the
Mail Settings
form,- Select the
SendGrid
option in theMail method
dropdown. - Enter the
SendGrid
API key in theSendGrid API Key
text box. - Then submit this form.
- Select the
That's it! Happy mailing!!!