K
Keith G Hicks
I have a problem with a customer that uses Groupwise for their email. I'm
using Docmd.SendObject to open up an email message dialog (in an Access 2003
app) that's pre-filled with the recipeint, subject, etc. but the user can
fill in the rest and then hit the send button. This has all worked fine with
GW7. But recently, GW8 has fouled this up. I guess that it opens up the
email somewhat modally so that the user cannot go back to the calling app
until cancelling or sending the message. Kinda sucks. Anyway, the GW people
suggested the following
"A simple workaround to this problem is to spawn a thread to call
MAPISendMail(). The thread will block, but the main UI should not be held
up."
I have no idea how to do this. I've looked into some MAPI examples online
and am not finding what I think will work. Can anyone help me out or point
me in the right direction?
Thanks,
Keith
using Docmd.SendObject to open up an email message dialog (in an Access 2003
app) that's pre-filled with the recipeint, subject, etc. but the user can
fill in the rest and then hit the send button. This has all worked fine with
GW7. But recently, GW8 has fouled this up. I guess that it opens up the
email somewhat modally so that the user cannot go back to the calling app
until cancelling or sending the message. Kinda sucks. Anyway, the GW people
suggested the following
"A simple workaround to this problem is to spawn a thread to call
MAPISendMail(). The thread will block, but the main UI should not be held
up."
I have no idea how to do this. I've looked into some MAPI examples online
and am not finding what I think will work. Can anyone help me out or point
me in the right direction?
Thanks,
Keith