We have a customer using Terminal Services who's experiencing a weird
problem with our application and MAPI.
Basically our app uses MAPI to create a new email with a specified
destination address, subject, body text and attachment.
The problem is that, when this function is invoked, Outlook creates
the new email message but the message window is minimised to the
taskbar and cannot be restored. Any attempt to restore it fails but
you can close it by selecting the window's button on the taskbar and
using Alt-F4, at which point you get the usual confirmation about
saving or discarding the message.
When the problem occurs it will then happen consistently until they
completely log out and terminate their session to the server. When
they log back in and create a new session the problem goes away but
will come back within a few hours.
Outlook itself will still work fine, it's just mails created from our
app via MAPI that cause the problem. We've not seen this anywhere
else, including a few sites using TS.
Has anyone come across anything like this before? I'm at a total
loss. Any advice appreciated.