TeskaLabs/asab-iris

Sending multiple attachments without filenames of type '.md .sends only one md file as an attachment in email.

Opened this issue · 0 comments

Payload:

{
    "to": ["foo@example.com"],
     "subject":"Alert-Report-Test",
     "body":{
      "template":"/Templates/Email/message.md",
      "params":{
         "name":"Iris"
      }
   },
    "attachments":[
        {
            "template":"/Templates/Attachment/attachment.md",     
            "format":"md"
        },
         {
            "template":"/Templates/Attachment/attachment.md",     
            "format":"md"
        }
      ]
   }

Response :

{
    "result": "OK"
}