XP Pro III + D2007
I also used RapWare, same problem.
I create a PDF File, which I attach.
After JvMail1.SendMail a couple of problems manifest themselves:
1) On closing the OE New Message Screen, my App disappears into the Background
2) When I delete the Tempfile with Assignfile(F); erase(F); it takes a very long time to execute
I have tried with Application.BringToFront which works, but produces a lot of Flickering and with anything other than OE, for instance Thunderbird, Thunderbird disappears into the Background.
BringWindowToTop(Handle) doesn't always keep the App on Top.
I have also tried to run the SendMail procedure in a separate Thread, but also to no avail.
The OE Interface appears to be system modal, while Thunderbird doesn't.
I think, if there were a way to run OE Non-Modal, I could cater for both, but I don't seem to find anything anywhere.