https://github.com/scbd/chm-cbd.net-emails
https://github.com/scbd/chm-cbd.net-emails
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/scbd/chm-cbd.net-emails
- Owner: scbd
- Created: 2020-03-09T16:49:22.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T16:58:24.000Z (over 3 years ago)
- Last Synced: 2025-01-18T20:39:46.580Z (over 1 year ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 0
- Watchers: 9
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# chm-cbd.net inbound emails handler
Update the `config.json` file
```
npm install
zip -r --exclude=*.git* out.zip .
```
upload the zip file to AWS lambda `chm-cbd-net-ses-inbound`
Set Lambda environment vars for
```
FROM_EMAIL
SUBJECT_PREFIX
BUCKET
BUCKET_KEY_PREFIX
FORWARD_MAPPING_1...
FORWARD_MAPPING_2...
FORWARD_MAPPING_3...
```
FORWARD_MAPPING_X can forward to multiple target email simply separate them using semicolon `;`. EG:
```
FORWARD_MAPPING_X="name@my-ses-domain.com=real-name@my-real-domain.com;another-real-name@my-other-real-domain.com;"
```