Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pittica/post-sendgrid
Send e-mails using SendGrid from HTTP POST.
https://github.com/pittica/post-sendgrid
email php pittica sendgrid
Last synced: 28 days ago
JSON representation
Send e-mails using SendGrid from HTTP POST.
- Host: GitHub
- URL: https://github.com/pittica/post-sendgrid
- Owner: pittica
- License: mit
- Created: 2020-02-13T00:24:49.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-04-19T19:27:24.000Z (over 1 year ago)
- Last Synced: 2024-05-17T21:22:07.465Z (8 months ago)
- Topics: email, php, pittica, sendgrid
- Language: PHP
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Post SendGrid
[![LICENSE](https://img.shields.io/github/license/pittica/post-sendgrid.svg)](LICENSE)
[![packagist](https://img.shields.io/badge/packagist-pittica%2Fpost--sendgrid-brightgreen.svg)](https://packagist.org/packages/pittica/post-sendgrid)
![PHP from Packagist](https://img.shields.io/packagist/php-v/pittica/post-sendgrid)This project uses SendGrid to send data from contact forms.
## Installation
You can install _post-sendgrid_ using [Composer](https://getcomposer.org).
``` bash
composer create-project --prefer-dist pittica/post-sendgrid
```## Configuration
Create and edit a **config/app.php** file.
### Example
``` php
[
'whitelisted' => [
'message'
],
'email' => 'email',
'subject' => 'subject',
'name' => 'name',
'labels' => [
'message' => 'Message',
'email' => 'E-Mail',
'subject' => 'Subject'
]
],
'sender' => [
'address' => '[email protected]',
'name' => 'YOUR NAME'
],
'api' => [
'key' => 'SendGrid API KEY'
],
'recaptcha' => [
'key' => 'RECAPTCHA KEY',
'field' => 'g-recaptcha'
]
];
```## Copyright
(c) 2020-2021, [Pittica S.r.l.s.](https://pittica.com).