Redemption and outlook security

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
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.
 
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
 
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
 
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
 
Back
Top