https://github.com/patrickvaler/nodemailer-cloud-function
https://github.com/patrickvaler/nodemailer-cloud-function
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/patrickvaler/nodemailer-cloud-function
- Owner: patrickvaler
- License: mit
- Created: 2018-08-30T18:06:38.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-01T21:47:53.000Z (almost 7 years ago)
- Last Synced: 2025-02-04T15:49:04.378Z (5 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 |