Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/patrickvaler/nodemailer-cloud-function
https://github.com/patrickvaler/nodemailer-cloud-function
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/patrickvaler/nodemailer-cloud-function
- Owner: patrickvaler
- License: mit
- Created: 2018-08-30T18:06:38.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-01T21:47:53.000Z (over 6 years ago)
- Last Synced: 2024-10-21T23:51:06.887Z (2 months ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nodemailer-cloud-function
Serverless NodeJS cloud function to send emails with [nodemailer](https://github.com/nodemailer/nodemailer).
Run this cloud function with [Google Cloud Function](https://cloud.google.com/functions/)
# Environment Variables
| Environment Variable | Example |
| -------------------- | ----------------------- |
| `EMAIL_TO` | [email protected] |
| `EMAIL_SUBJECT` | Message from Nodemailer |
| `SMTP_USER` | my-username |
| `SMTP_PASSWORD` | my-secure-password |
| `SMTP_HOST` | smtp.gmail.com |
| `SMTP_PORT` | 465 |
| `SMTP_SECURE` | true |