Laffey-chan / Wilma.Electron

MIT License
1 stars 0 forks source link

One useful note for developers #10

Closed developerfromjokela closed 4 years ago

developerfromjokela commented 4 years ago

for example, your wilma client gets the "recipients" using ?recipients

Now, there's another way!

?format=json And this works in few places. I don't remember where, but works in messages

developerfromjokela commented 4 years ago

here's what you get:

{
   "messages":[
      {
         "Id":764,
         "Subject":"Test2",
         "TimeStamp":"2020-08-06 11:52",
         "Folder":"archive",
         "SenderId":118,
         "SenderType":1,
         "Sender":"Hypoteesi Heikki (HYP)",
         "ContentHtml":"<p>Sp&#228;mmit&#228;&#228; JKEE!<\/p>",
         "ReplyList":[

         ],
         "AllowForward":true,
         "AllowRecall":true
      }
   ]
}
jaakop commented 4 years ago

Thank you! I was looking for something like this but didn't find it. I'll start implementing it to the system

jaakop commented 4 years ago

Fixed in new wilma package.