Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to overcome outlook security alert

0 views
Skip to first unread message

Arun Subramanian

unread,
Sep 5, 2008, 2:53:49 AM9/5/08
to
Iam writing an app which will send email to a distribution list
through an exchange server. I tried CDO first but it failed to connect
properly with server which has SSL connection enabled. (working
flawlessly without ssl).
So i switched to MAPI, but
whenever I call MApiSendMail api to send emails, Iam getting a
secuity alert which needs to be dismissed manually by the user
I dont need
this, Is there a way to overcome this ?... its ok for me to display
this to the user but it would be good to auto-dismiss the alert say
after 15 secs. so that it serves both the purposes.

Note:
When i googled I found that if i use extended MAPI I can overcome
this... but it turns out that If i use ExMAPI I need MS office outlook
installed on the machine where my code will be running .... correct
me if i am wrong ..

Even if there is a better way to send mails (to ssl enabled exchange
server) please suggest me,, it would be a big help...

SvenC

unread,
Sep 5, 2008, 4:02:00 AM9/5/08
to
Hi Arun,

> Iam writing an app which will send email to a distribution list
> through an exchange server. I tried CDO first but it failed to connect
> properly with server which has SSL connection enabled. (working
> flawlessly without ssl).

> When i googled I found that if i use extended MAPI I can overcome


> this... but it turns out that If i use ExMAPI I need MS office outlook
> installed on the machine where my code will be running .... correct
> me if i am wrong ..

Search the web for ExchangeMAPICDO. This is the exchange server
version of extended MAPI which can be installed when Outlook must
not be installed on the machine running your code.

--
SvenC

Ashutosh Bhawasinka

unread,
Sep 5, 2008, 5:09:05 AM9/5/08
to
use http://www.dimastr.com/redemption/
It's by an MAPI genius Dmitry Streblechenko!!! You will find his
comments all over this newsgroup!

Arun Subramanian

unread,
Sep 5, 2008, 6:51:29 AM9/5/08
to
AB,
Is this RDO for outlook or outlook express .... and its also
a third party program not microsoft.... so iam not sure if ican use
that.


Sven,
I downloaded that EXMapCDo but willl there be any conflicts if
the user later installls outlook in his machine ??

Ashutosh Bhawasinka

unread,
Sep 5, 2008, 8:06:15 AM9/5/08
to
RDO is for Microsoft Outlook. It uses Extended MAPI. Though I have never
used it, but read a lot about it.
Just give it a try.

Stephen Griffin

unread,
Sep 5, 2008, 9:06:04 AM9/5/08
to
There will be many conflicts if Outlook is later installed. You can have the
MAPI download OR Outlook, but not both.

"Arun Subramanian" <hunterint...@gmail.com> wrote in message
news:2521169e-3b47-4d02...@n33g2000pri.googlegroups.com...

Dmitry Streblechenko

unread,
Sep 5, 2008, 1:40:37 PM9/5/08
to
There are no workarounds if you are using *Simple* MAPI (that is what
MApiSendMail is) if you are using Simple MAPI with Outlook. In OE, you can
turn the security prompts off in Tools | Options | Security.
If you switch to Extended MAPi or Redemption (which wraps Redemption). your
code will only work with Outlook, but not with OE or other mail clients.
Have you looked into using straight SMTP if sending messages is all you
need?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-


"Arun Subramanian" <hunterint...@gmail.com> wrote in message

news:b8da03d9-3ab8-42e9...@z6g2000pre.googlegroups.com...

Dmitry Streblechenko

unread,
Sep 6, 2008, 3:14:59 AM9/6/08
to
I meant "Redemption (which wraps Extended MAPI)" :-)

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-

"Dmitry Streblechenko" <dmi...@dimastr.com> wrote in message
news:OIE7C63D...@TK2MSFTNGP03.phx.gbl...

Arun Subramanian

unread,
Sep 8, 2008, 10:16:20 AM9/8/08
to
Couldnt catch up cos of the weekend...


Dmitry,
No issues on using Redemption expect its a non-microsoft
library.

Initially i tried using CDO. My server (MS exchange) uses
secure socket connection, So whenever i try to send using port it is
failing with (transport failed to connect error) . I couldnt figure
why this error is comming. and with some googling when i switched to
(cdoSendusingPickup) it worked smoothly, (hmm this requires IIS
installation on the machine for SMTP relay service so i dont want to
go with this )..

My code needs to work on machines which not necessarily
will be having ms outlook so simple mapi is what seems to suit me for
now..... just confused... or it will be even great if there are
alternative way to send Pain text mails .. (i can write a plain smtp
client by hand -: but wont think I can add ssl support now),

0 new messages