Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

(condensed from a  Slack discussion on the FOLIO implementers channel on August 24 2020)

...

Query to GET /email on an Okapi instance returned JSON messages that looked like this (some content snipped):

 {
      "notificationId""9bb7424a-55ec-4f48-b2c6-cb3557ef44d0",
      "to""erin.nettifee@duke.edu",
      "header""Activate your Folio account",
      "outputFormat""text/plain",
      "body"SNIP
      "attachments": [],
      "status""FAILURE",
      "message""The 'mod-config' module doesn't have a minimum config for SMTP server, the min config is: [EMAIL_SMTP_PORT, EMAIL_PASSWORD, EMAIL_SMTP_HOST, EMAIL_USERNAME]",
      "date""2020-02-07T14:34:40.350+0000",
      "metadata": {
        "createdDate""2020-02-07T14:34:40.278+0000",
        "createdByUserId""77100dc9-c53c-5df6-a798-066b9b5813e1",
        "updatedDate""2020-02-07T14:34:40.278+0000",
        "updatedByUserId""77100dc9-c53c-5df6-a798-066b9b5813e1"
      },
      "deliveryChannel""email",
      "id""940f53a3-4bfe-43ee-9cb7-6342e67511c5"
    },


Note that it returned a Failure message. If messages are successful, they are purged from the mod-email repository at a defined interval (TBD: what interval, and is it configurable?)