Uploaded image for project: 'mod-email'
  1. mod-email
  2. MODEMAIL-1

Create mod-email for sending email notifications

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 1.0.0
    • EPAM-Veg Sprint 1, EPAM-Veg Sprint 2
    • 8
    • Vega

    Description

      Requirements

      The module should provide possibility of sending email through REST API of module. Simple modules that perform solely the role of delivering messages using the appropriate delivery channel. Input data: message with delivery
      address. This module should use mod-configuration to get connection parameters.

      Method Description
      POST /email Send email to recipient

      email entity:

      {
      "notificationId":"1",
      "from":"admin@folio.org",
      "to":"user@folio.org",
      "header":"FOLIO account Password change",
      "outputFormat":"text/html",
      "body":"Reset password notification",
      "attachments":[

      { "contentType":"image/jpeg", "name":"image name", "description":"image description", "data":"imagedata", "disposition":"inline", "contentId":"<image1@example.com>" }

      ]
      }

      Acceptance Criteria

      • The new module is created
      • github repository exists in folio-org space
      • REST tests created and passed
      • Component's endpoints are available through OKAPI within vagrant latest images [folio/snapshot, folio/testing, folio/testing-backend]
      • User can send email using POST request to module

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                kgambrell Khalilah Gambrell
                OleksiiKuzminov Oleksii Kuzminov
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases