redemption

Outlook 2003 Add-In Setup Project with COM DLL Deployment Problem

Hi, I developed an Outlook 2003 add-in which uses the com dll redemption. I created a visual studio 2008 setup project, added a custom action to run "caspol.exe -machine -addgroup 1 -strong -hex [key] -noname -noversion FullTrust -n \"Name\" -description \"desc\" and moved the registry keys under software to HKLM as described in http://m...

Redemption using filter on a custom datetime field in contacts.

Hello, I'm having a problem using a filter on a custom date in contacts. RDOItems Contacts = null; string strSearch = string.Empty; strSearch = AddQuotes("http://schemas.microsoft.com/mapi/string/{01234567-8901-2345-C678-901234567801}/CustomFieldString"); strSearch += " ...

MAPI_E_INVALID_ENTRYID when getting contact from Outlook via Redemption

I'd like to retrieve a contact with a known EntryID in a specific folder from outlook/exchange using Redemption. The following code calls GetMessageFromID on an RDOSession object. I only want contacts from the standard Contacts folder, so I use the second argument to limit the search space. RDOFolder folder = Session.GetDefaultFolder(r...

Using Redemption, How can I add a default Signature to an outgoing Email Message?

Here is the code that I am using. I have spent some time looking at the Redemption objects, but, nothing jumps out at me: public static bool PopEmail(string domainUserName, string mSubject, string mBody, string mTo, string mCc = "", string mBcc = "", List<String> fileAttachments = null) { log.Info("Starting to Pop Outloo...

MAPI_E_FAILONEPROVIDER from Redemption

I'm trying to user Redemption to update a user's Outlook contacts. The user I'm affecting is passed in the exchangeUser, call him "Target User". This code works when I run it logged in as myself: public OutlookFolders(string outlookRootFolder, string exchangeUser, string mailServer) { var session = new RDOSessionClass(); ...

IIS7 can't find COM Object as registered Cassini can what am I missing?

I have changed my Visual Studio 2010 to use my local IIS7 instead of Cassini for my WCF service. When I test in debug mode in Cassini I have no problems instantiating Redemption.dll. When I switch Visual Studio on the project properties to use IIS7 virtual directory I start debugging and stepping through my code and finally try to inst...

Create MAPI profile for a service account

In the past I've used profman2 to create MAPI profiles for servers that need access to Exchange mailboxes when I don't want to install Outlook on a server. This works okay when I'm able to log in as the user who needs access to the profiles. This doesn't work when the application is being run by a service account that has no login righ...

Version of Outlook Redemption

What version of Redemption should i use if i have: Windows 7 x64, WinForms App (x64), Outlook 2010 x86. The problem is that Redemption64 5.0 does not work in this case. ...

Standalone version of MAPI and Redemption

What steps should i made for working with Redemption (need export to PST) on clear machine? Install Redemption.dll Install my app Install standalone version of MAPI What else i need to do? Now: session = new RDOSessionClass(); - work store = mSession.LogonPstStore(filePath, rdoStoreType.olStoreDefault, null, null, null); - throw e...

Empty EntryID after using GetMessageFromMsgFile in Outlook Redemption

Using RDO 4.8.0.1184 with Delphi 2006 on Exchange 2007 SP3 I have the following code (abbreviated): Msg := MailSession.GetMessageFromMsgFile(sTempFile, false); Msg.UnRead := true; Msg.Save; Msg.Move(some_folder); ShowMessage('EntryID: ' +Msg.EntryID); The resulting dialogue shows an empty EntryID. I've tried printing the EntryID at ...

Outlook 64 bit using Redemption 64 bit from 32 bit application

I have a 32bit Delphi application which needs to use Redemption to talk with Outlook. For deployment on 64 bit machines with 64 bit Outlook installed, Redemption has a 64 bit version of its COM dll. Redemption is registered properly and can be used from a test program made in C#, but when trying to access Redemption from the 32 bit Delp...

Send Message with Custom Properties with Redemption

Hello. I’m using Redemption.dll to set custom properties to my messages with set_Filed() and get_field() in C#. Everything works perfectly until the moment I send my messages. From Outlook I use RDOMail.Send() and this sent the message to the Drafts folder. Then I read in the Redemption FAQ that I should use the IMessage::Submit() metho...