Article View: borland.public.cppbuilder.internet.web
Article #983Re: How display MAPIMAIL
From: Remy Lebeau (TeamB)
Date: Fri, 03 Mar 2006 20:37
Date: Fri, 03 Mar 2006 20:37
25 lines
2229 bytes
2229 bytes
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:4408a7d4$1@newsgroups.borland.com...
> I can't answer that. I just tried it on Outlook 2000 and got the same
> error. Removing the attachments results in error 2 (MAPI_E_FAILURE) being
> reported instead of 11.
I can tell you, though, that I use similar code on other machines and it
works fine. However, that code is logging into an actual mail profile
(specifying a non-empty string for the lpszProfileName parameter), whereas
the code in this discussion in not. That might make a difference. You can
look up the default profile in the Registry:
Under Win9x/Me:
HKCU\Software\Microsoft\Windows Messaging Subsystem\Profiles
"DefaultProfile"="the name of the default profile"
Under WinNT/2K/XP/2K3:
HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging
Subsystem\Profiles
"DefaultProfile"="the name of the default profile"
Gambit
Technical Details
Message-ID:
<4408a934@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4402040f@newsgroups.borland.com> <4404bbf5$1@newsgroups.borland.com> <4404fe85$1@newsgroups.borland.com> <440602dc$1@newsgroups.borland.com> <44064ed2$1@newsgroups.borland.com> <44073e03$1@newsgroups.borland.com> <4407681b$1@newsgroups.borland.com> <44088be9@newsgroups.borland.com> <44088e3f$1@newsgroups.borland.com> <4408910d@newsgroups.borland.com> <4408a7d4$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,b415d4e666b19fd4 X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.web References: <4402040f@newsgroups.borland.com> <4404bbf5$1@newsgroups.borland.com> <4404fe85$1@newsgroups.borland.com> <440602dc$1@newsgroups.borland.com> <44064ed2$1@newsgroups.borland.com> <44073e03$1@newsgroups.borland.com> <4407681b$1@newsgroups.borland.com> <44088be9@newsgroups.borland.com> <44088e3f$1@newsgroups.borland.com> <4408910d@newsgroups.borland.com> <4408a7d4$1@newsgroups.borland.com> Subject: Re: How display MAPIMAIL Date: Fri, 3 Mar 2006 12:37:45 -0800 Lines: 27 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <4408a934@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1141418292 68.69.17.41 (3 Mar 2006 12:38:12 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail