Outlook Send Error

T

Tom Groszko

I am using Outlook to send mail from a C++ application. I am getting an
exception but can't figure out which one.

A little code:

try
{ Messagex.Send();
}
catch (...)
{ Answer = false;
}

Answer gets set to false. I have tried
catch (COleException excepInfo)
catch (EXCEPINFO excepInfo)
catch (COleDispatchException excepInfo)

none of which catch the exception.

What can I replace the ellipsis with to get meaningful information about the
exception.

Thanks
Tom G.
 

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