Skip to content

martinic/openwhisk-mailer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openwhisk-mailer

Greenkeeper badge

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>"
  }
}