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 #

Copied to clipboard!
URL: http://kuzzle:7512/_/hermes/smtp/accounts
Method: POST

Other protocols #

Copied to clipboard!
{
  "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 #

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