MAPI SendMail and Outlook

B

Bill @ CTA

I have a simple MAPI interface that has been working for years. The user has
the option to open a send e-mail form. The open form works fine for some
installations
of Outlook but not others. Here is the C++ code

flags = MAPI_DIALOG ;
error = lpfnSendMail( lplhSession, (ULONG)handle, &messg, flags, 0);

On some machines, notably 2003 server, Outlook fails to open and I get this
error.
MAPI_E_FAILURE
which is not terribly useful.

When that flag is not set it sends the message to Outlook without any
problems.

In my LAN it works on my xp machine with
Micrsoft Office Outlook 2003 ( 11.8217.8221 ) SP3
but it does not work on our 2003 server that has exchange installed to it.
It does have the same version of Outlook
Micrsoft Office Outlook 2003 ( 11.8217.8221 ) SP3.

My customer is using Microsoft Office Outlook 2003 (11.8169.8172) SP3 on a
2003 server via Terminal Services. It is not an exchange machine but there
is a separate Exchange server on his LAN.


Any suggestions would be most appreciated.

Bill
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top