openwhisk-mailer
Version:
[](https://greenkeeper.io/)
35 lines (29 loc) • 772 B
Markdown
# openwhisk-mailer
[](https://greenkeeper.io/)
An OpenWhisk Mailer Action
## Prerequisites
- OpenWhisk command line interface (CLI) called `wsk`
- npm install -g bestzip
## Installation
- npm install
- npm run create
- npm run update (Only for development)
- npm run invoke
## config
json input (`params.json`)
```
{
"transporter": {
"transport": "ses",
"accessKeyId": "AABCDEFGHIJKLMNOPQRST",
"secretAccessKey": "TUV/XYZabcd8RbnmNxOyb5BsVWeNnK721xytIVwKkGK"
},
"mail":{
"from": "foo@bar.com",
"to": "bar@foo.com",
"subject": "Send Email Using OpenWhisk",
"text": "OpenWhisk New world for me",
"html": "<b>OpenWhisk New world for me</b>"
}
}
```