Is Outlook 2000 installed in the IMO mode (which breaks Extended MAPI) or
C/W?
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"John Erickson" wrote in message
...
Hi,
I'm developing an Add-in which works fine for Outlook 2003 and 2007. I'm
trying to get it to also work for Outlook 2000, but I have one problem. I
am
autogenerating a message to be sent for some of the messages that I
receive.
In Outlook 2003 & 2007, this generated message gets sent fine, but in
Outlook
2000 it gets stuck in the Outbox and Outlook won't send the message. If I
double click the message in Outlook's Outbox and then click send, it sends
the message fine and the message gets deleted as I planned. FWIW I'm doing
all the message creation work in MAPI in a seperate thread that my add-in
sends messages to and not in the Outlook object model to avoid the
restrictions that generate possible virus warning messages. After I build
the
message and set all it's properties I am calling
IMessage::SubmitMessage(0)
and that seems to be all it takes for 2003 & 2007. I've looked at the
message
that gets stuck in the Outbox using MFCMapi to inspect the message
properties
and everything looks fine to me. I'm at a loss to explain why it's not
being
sent. Have you heard of this before? Is there some property I'm not
setting
or a call I'm not making that OL2000 requires?
John