I'm trying to use ExceptionReporter in a managed Win32 Application. I'm running on Win7/64, with 64-bit Office (including Outlook) installed and no 32-bit mail client (Win7 does not come with any mail client by default).
When I try to get ER to send an Email, I see an error "Microsoft Office Outlook / Either there is no default mail client or the current mail client cannot fulfill the messaging request. Please run Microsoft Outlook and set it as the default mail
client". It turns out that Outlook is the default mail client.
The message box is shown during the (first) call to MAPILogon in Mapi.Logon(), and the error value returned is 0x80004005; session is left at null. However, the code continues and sends the email successfully. Looking at the documentation for
MAPILogon here: http://msdn.microsoft.com/en-us/library/windows/desktop/dd296726(v=vs.85).aspx it seems that the function is deprecated.
I've disabled the call to mapi.Logon in MailSender.SendMapi and everything still seems to work fine. Since the call seems to be superfluous and troublesome, perhaps it would be better removed from the code?