Official Plugins (Kuzzle v2.x)
Hermes Messenger v0.x
2

addAccount #

Adds a SMTP account. This account can then be used to send emails.


Query Syntax #

HTTP #

URL: http://kuzzle:7512/_/hermes/smtp/accounts
Method: POST

Other protocols #

{
  "controller": "hermes/smtp",
  "action": "addAccount",
  "account": "<account name>",
  "body": {
    "host": "<SMTP host>",
    "port": 25,
    "user": "<SMTP user>",
    "pass": "<SMTP pass>",
    "defaultSender": "<default sender email>"
  }
}

Kourou #

kourou hermes/smtp:addAccount -a account=<account name> --body '{
  "host": "<SMTP host>",
  "port": 25,
  "user": "<SMTP user>",
  "pass": "<SMTP pass>",
  "defaultSender": "<default sender email>"
}'