redemption

Outlook Redemption : GetNamesFromIDs

Hello -- I'm trying to get all property names / values from an Outlook item. I have custom properties in addition to the default outlook item properties. I'm using redemption to get around the Outlook warnings but I'm having some problems with the GetNamesFromIDs method on a Redemption.RDOMail Item.... I'm using my redemption session to...

Redemption Shared Folder Problem when moving to Outlook 2007

We currently have an application that works with Outlook 2003. In order to get the owner of a shared contact folder, we simply call: Redemption.RDOSessionClass.GetFolderFromID() and then took that folder and got the RDOFolder.Store.Name property. However, when trying this with a shared contact folder in Outlook 2007, the RDOFolder.Store...

Redemption - Find public folder

Using Redemption I need to put a draft email in a specific Public Folder. I know the full path of the folder but I can't work out how to get there using RDO. Eg. the folder path is "\\Public Folders\All Public Folders\XXXX\Drafts" I'm using Delphi2006 and Exchange 2007 but that shouldn't matter... oSession := CreateOleObject('Redempti...

Get Exchange folder size using Redemption.dll fails when used from Outlook2007

I am using Redemption.dll (Version 4.7.0.1026- latest) in an Outook (2003/2007) Add-in where i need to retrieve the exchange mail box size. To get the folder size, I am using the function get_Fields(): foreach (RDOStore store in rdoSession.Stores) { int size = 0; if (store.StoreKind == TxStoreKind.skPrimaryExchangeMailbox) { /...

Using Redemption (Outlook) with a user other than the logged in user - and getting errors

I'm using Redemption dll (http://www.dimastr.com/redemption/) and I've created an exe that accesses my mail box. I run the exe in Windows Scheduler under my username and it works fine, I get an email sent to me (see below code). When I change the runas username in Scheduler to someone else and try to access their mail box Profile I get...

Using Redemption dll (Outlook) on a 64 bit machine

I have an exe that I have installed on my 32 bit machine, it loops round the logged in users Inbox and works fine, (NB I still havent got it working for another user (see here) any ideas there would be appreciated as well!). But when I install it on 64 bit server I am getting this error. Creating an instance of the COM component with ...

IronPython and instantiating COM objects

I'm using IronPython 2.0 in a SharpDevelop 3.1 console window. I'm trying to reference and use the Redemption CDO replacement library. The standard usage for the library is to instantiate an RDOSession object, then use the methods on that object to navigate through the RDO object model. I've registered the Redemption COM dll and refer...

Redemption + Clickonce = :-(

I have a normal windows forms program (Not VSTO) which deploys using click once. The issue is that loads of user are having problems with random errors generally stating (from the IClassFactory failed due to the following error: 80004005). Im deploying Redemption by changing the mode to "Isolated" which appears to work for some users bu...

redemption give exception in m/c do not have outlook or have outlook express

Hi, i have created an application that access Exchange Server using Redemption. it works fine in my machine ( i have outlook 2007 at my machine) but when i run same application in other system containing outlook express it gives me the following error: creating an instance of the COM component with CLSID{ } from the IClassFatory failed...

Redemption dll registration

Hi, I want to register Redemption.dll in server machine which is windows 2003 and 64 bit machine also having outlook there, but i get the following Error and not able to register it in that machine. FULL_PATH/Redemption.dll was loaded,but the DllRegisterServer entry point was not found. This file cannot be registered. where it goes wr...

Can I use Redemption without Outlook installed on the server to check email of another account?

This one is killing me. I'm trying to make a simple console app that brings down attachments from an Exchange mailbox. I tried WebDav originally and that worked fine except that the server is configured to block XML files which makes it useless to me. I can not get the server admins to change any settings at their end. So I have thes...

Why do the windows of my Outlook mail items become unusable after my application terminates?

I have a VB6 application which creates and displays mail items in Outlook using Redemption's RDO. Everything works except after my application terminates the window of every mail item originally created and displayed by my application becomes unusable, i.e. I cannot send, save or print from that window. Requested clarification: I create...

Outlook Addin accessing exchange recipient in offline mode?

I'm creating an Outlook addin using VS 2008 and C#. In order to function this addin goes through all the e-mail using Redemption and parses it. I've recently run into the issue of somebody opening outlook without a network connection (network offline, unplugged, or it's mobile like a laptop and happens to not have connectivity at the m...

Outlook Redemption GetFolderFromPath on public folders

When I try to access a public folder using Session.GetFolderFromPath I get an error "Error in IMAPITable.FindRow: MAPI_E_NOT_FOUND" at >>: Type COMType = Type.GetTypeFromProgID("fkvbmapi.FKRDOSession"); RDOSession session = Activator.CreateInstance(COMType) as RDOSession; Session.LogonExchangeMailbox(user, server); >>RDOFolder folder = ...

COM registration error in Visual Studio 2008 setup project

I'd like to register Outlook Redemption as an isolated COM component using a Visual Studio 2008 setup project. After adding Redemption.dll to my setup project, if I choose either vsdrfCOMRelativePath or vsdrfCOM options in Properties > Register, I get the following error. Exception EAccessViolation in module msvbver.dll at 0000A15F. ...

How to change ExchangeConnectionMode ?

I have a console application written in C#. This application copies e mails from exchange mail A to Exchange mailbox B. I am making use of Outlook redemption to log on to exchange mail boxes and do the copy operation. The issue is thatwhen I connect to exchange mail box, the exchangeConnectionMode is olCachedConnectedFull so when I do co...

Is it possible to render the exact same HTML as Outlook does when displaying HTML Body of .msg files?

We are displaying HTML body extracted from .MSG files exported from Outlook. To display the HTML body, one needs to decompress RTF from PR_RTF_Compressed field and then decode the RTF to HTML (outlook actually encodes HTML to RTF when exporting MSG files). We are using RDO library to parse the msg files and extract the HTML body. RDO p...

Using Redemption to send as another user

When I view outlook I see my mailbox but also additional "business function" mailboxes. One of these is "optingout" I've written a console app that loops through several of these function mailboxes (by enumerating the folders in my session) and grabs all of the mails so I can then loop through them and take actions depending on the mail...

Using Redemption to reply to a mail only intermittently sets the body text

I'm using the below method to reply to mails coming in to a business function mailbox. The body text being added is only intermittently being set. This method is only called when someone has emailed in to unsubscribe from a mailing but the email address of the sender (or in the body) hasn't been found in the database and we want to ask ...

Programatically accessing "Offline Address book" using Redemption

How to access "Offline Address Book" (from exchange server/outlook configured to exchange machine) using Redemption (C#). I am looking for some sample code to proceed with my task. ...