🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #12444

Re: Avoiding scary message boxes when sending email with MAPI

#12444
From: Fernando
Date: Thu, 04 Dec 2003 08:51
27 lines
2249 bytes
On Wed, 3 Dec 2003 10:16:21 -0800, "Remy Lebeau \(TeamB\)"
<gambit47.no.spam@no.spam.yahoo.com> wrote:

>Did you explitically specify the actual default profile name when you called
>MapiLogon()?  What does your actual code look like?  You should be getting
>the profile name from the Registry, if you are not already.

I guess this is the problem.  Where can I find the default profile?  Is the
location independant of the default mail client?

This is the code:
rc = ::MapiLogOn(0,NULL, NULL, MAPI_LOGON_UI,0, &session);

>> When I call MapiSendMail(), I get another dialog that explains that
>> an application is trying to send an email and that it could be a virus.
>> My customers are mostly computer illiterate and that silly dialog
>> will certainly scare them.  How can I get rid of it?
>
>Sounds like a configuration issue with Outlook itself, you should look there
>first.  Or, do you have anti-virus on that machine?  Perhaps it is
>intercepting the mail before it can even reach Outlook.

No, it's Outlook's Security Patch and Service Pack 2 of MS Office 98/2000 and
Office 2002 and 2003 (which include Security Patch).

I don't know of any way to get rid of it, except using MAPIX, which I'm not
familiar with...
Technical Details
Message-ID: <b1ttsvc4kig606njg2v85buskar2fmqlev@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <9oomsvos3orhf35qtt6nrgcihuvnhsobb0@4ax.com> <3fccd596$3@newsgroups.borland.com> <baarsv0kt7ldbra3f0shfh07hqumvdmlab@4ax.com> <3fce27f3$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,cd566dcafe2eda42
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-12-04 01:09:08 PST
From: Fernando  <frr@easyjob.net>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Avoiding scary message boxes when sending email with MAPI
Date: Thu, 04 Dec 2003 09:51:38 +0100
Message-ID: <b1ttsvc4kig606njg2v85buskar2fmqlev@4ax.com>
References: <9oomsvos3orhf35qtt6nrgcihuvnhsobb0@4ax.com> <3fccd596$3@newsgroups.borland.com> <baarsv0kt7ldbra3f0shfh07hqumvdmlab@4ax.com> <3fce27f3$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.9/32.560
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 217.127.66.80
X-Trace: newsgroups.borland.com 1070527897 217.127.66.80 (4 Dec 2003 00:51:37 -0700)
Lines: 27
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail