Borislav,
>
> Frank I think You reverse the JOIN condition:
> Try this:...
>
I also had the idea of flipping the "ON"-Statement but it did not appear to me as a solution as it's working in most cases. Last night, after I wrote the question, about ten mails were created and sent out flawlessly.
I can display (uses the same function) EVERY mail that comes in via the COM-Server. Only the COM-Server sometimes does not "see" the body-record when sending the mails. And when he does not see the record, he does not on the next run, which is five minutes later.
Nadya aggrees with You and has two other suggestions. I'll try them all but I have the feeling that this is not the reason.
Thanks so far. I'll tell You what I find out.