rlebeau on master
Minor tweak to last pull reques… (compare)
rlebeau on master
fix compiling issues for IdStac… Merge pull request #273 from Bi… (compare)
rlebeau on master
Defining HAS_PRawByteString for… (compare)
rlebeau on master
Define PRawByteString for older… Merge pull request #275 from Bi… (compare)
Since EMBT forums are funky/down again.. .we have put some Delphi as well as Indy forums up to test.. join in!
TIdWebDAV
, but no WebDAV server. I'm sure a CalDAV client/server could be made with TIdHTTP
/TIdHTTPServer
, with some manual work
There are Indy forums over here too on the linked web forums.
https://www.atozed.com/2018/04/embt-squirrel-on-vacation-again/
text/html
, text/plain
, multipart/alternative
, multipart/related
... And figured out that TIdMessageClient.SendBody()
goes into an endless loop if the message parts aren't created in the correct order. I create every part with new TIdText(pMessage->MessageParts, NULL)
and set the correct ParentPart
id. Is there a way to reorder them based on the ParentPart
id?
SendBody()
get stuck in an infinite loop before. Can you provide an example that causes this?
TIdText *t = new TIdText(pMessage->MessageParts, NULL);
t->ContentType = "text/plain";
t->Body->Text = "Test";
TIdText *h = new TIdText(pMessage->MessageParts, NULL);
h->ContentType = "text/html";
h->Body->Text = "Test";
TIdText *a = new TIdText(pMessage->MessageParts, NULL);
a->ContentType = "multipart/alternative";
a->ParentPart = -1;
t->ParentPart = a->Index;
h->ParentPart = a->Index;
text/plain
content no message part is needed. If HTML is added, the text/plain
is converted and both parts are appended to the alternative
part. Same with related
if a graphic is added earlier or later.