Redemption and outlook security

S

SammyDog

Does anyone has a class built around the redemption dll? I have an immediate need to over come the security messages in several vb 6 applications as the company I work for will shortly be upgrading to exchange 2003 and xp/outlook 2003

The applications routinely access email, extract attachments, send email, and create/update/delete appointments

Thanks to all.
 
D

Dmitry Streblechenko \(MVP\)

Why do you need a separate class? You just need to figure out which lines of
your code cause the security prompts and replace them with code that uses
Redemption. E.g. if you were accessing MailItem.SenderName

MsgBox (MailItem.SenderName)

you will need to replace the line above with

dim sItem As Object
....
set sItem = CreateObject("Redemption.SafeMailItem")
sItem.Item = MailItem
MsgBox(sItem.SenderName)


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


SammyDog said:
Does anyone has a class built around the redemption dll? I have an
immediate need to over come the security messages in several vb 6
applications as the company I work for will shortly be upgrading to exchange
2003 and xp/outlook 2003.
The applications routinely access email, extract attachments, send email,
and create/update/delete appointments.
 
J

jayanthv

I want to show the outlook address book in a c#.NET (browser base
application).

I can able to display address book in windows C# based applications..
but i need to display this local outlook address book when clicks
button in browser based application?

Is is possible to display local outlook address book in browse
(ASP.NET,C#) applications?

If user clicks on button i need to check whether in the local machin
outlook address book exists or not. If exists then display the loca
address book?

is this possible in browser applications which are running in asp.ne
environment
 
D

Dmitry Streblechenko

The address book must be displayed on the client machine, so the fact that
your app is written in ASP.Net or C# is irrelevant; what matters is what
runs on the client machine, which is Java or VB script. And that means that
you either need to download and install an ActiveX control that will allow
you to access that functionality using Extended MAPI (e.g. Redemption) or
(if you have any control over the client environment) require that CDO 1.21
be installed (it is an optional Outlook component).
Outlook Object Model itself does not expose this functionality.

Extended MAPI (C/C++/Delphi): IAddrBook::Address
CDO 1.21: Session.AddressBook
Redemption: MAPIUtils.AddressBook

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

Sue Mosher [MVP-Outlook]

FWIW, if the client environment is Outlook 2002/3 only, you can use the Address Book Control that installs on first use in Outlook. That's what SharePoint web sites use (and so sample code is available from the WSS page where the user picks names from the address book to add to a site).

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
J

jayanthv

Hi,

Thank you very much for your help. Can u please give some examples o
any URLs of how to use Jscript for invoking local client machin
outlook address book.?

and which component i need to use to work with Javascript
 
D

Dmitry Streblechenko

Ah! Totally forgot about that control.
Thanks!

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

FWIW, if the client environment is Outlook 2002/3 only, you can use the
Address Book Control that installs on first use in Outlook. That's what
SharePoint web sites use (and so sample code is available from the WSS page
where the user picks names from the address book to add to a site).

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Top