Discussion:
MAPISendMail
(too old to reply)
Gunnar
2009-07-15 11:49:20 UTC
Permalink
I have a small application that worked fine under XP with Outlook Express.
Under Vista with Windows Mail MAPISendMail always returns MAPI_E_USER_ABORT,
no matter which Flags I set; no dialog box is displayd.
Windows Mail is the default mail handler.

I tried on another Vista machine where MS Outlook is the default mail
handler - same result.

Does anybody have an idea what's wrong? Thanks!

-Gunnar
patrick
2009-07-15 14:05:35 UTC
Permalink
Post by Gunnar
I have a small application that worked fine under XP with Outlook Express.
Under Vista with Windows Mail MAPISendMail always returns MAPI_E_USER_ABORT,
no matter which Flags I set; no dialog box is displayd.
Windows Mail is the default mail handler.
I tried on another Vista machine where MS Outlook is the default mail
handler - same result.
Are you sure that the default account is configured ?
Have you tested with Extended MAPI (MAPILogonEx and various flags) ?
Gunnar
2009-07-15 21:47:13 UTC
Permalink
Post by patrick
Are you sure that the default account is configured ?
Yes.
Post by patrick
Have you tested with Extended MAPI (MAPILogonEx and various flags) ?
Yes.

-Gunnar
domi
2009-07-15 23:22:21 UTC
Permalink
Post by patrick
Have you tested with Extended MAPI (MAPILogonEx and various flags) ?
Yes.
Do you get an error even with the MS samples like
http://support.microsoft.com/kb/306962 ?
(with MAPIInitialize(), ..)
Gunnar
2009-07-16 08:43:00 UTC
Permalink
Post by domi
Do you get an error even with the MS samples like
http://support.microsoft.com/kb/306962 ?
(with MAPIInitialize(), ..)
I will try, thanks!

-Gunnar

Loading...