XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Done
    • None
    • 3.6.0
    • None
    • None

    Description

      Why

      As a user, I want to send an existing email.

      How

      Implement `EmailSubmission/set create`

      [[ "EmailSubmission/set", {
        "accountId": "ue411d190",
        "create": {
          "k1490": {
            "emailId": "M7f6ed5bcfd7e2604d1753f6c",
            "envelope": {
              "mailFrom": {
                "email": "john@example.com",
                "parameters": null
              },
             "rcptTo": [{
               "email": "jane@example.com",
               "parameters": null
             }]
           }
         }
       }
      }, "0" ]]
      

      Note: IdentityId is not specified.
      Note: EmailParameters should be left null.

      Creating an EmailSubmission gets the given email being sent.

      Restrictions:

      • The FROM field of the envelope needs to belong to the sender. In which case it fails with `forbiddenMailFrom`.
      • The FROM field of the EML needs to belong to the sender. In which case it fails with `forbiddenFrom`.

      Definition of Done

      Write a unit test demonstrating you can send emails.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            rcordier René Cordier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: