Questions tagged [outlook-redemption]

Outlook Redemption is a library which works around the security limitations introduced in Outlook 2002. It also provides some additional features which are not accessible using the Outlook object model.

515 questions
18
votes
3 answers

MSTest refuses to run 64-bit?

I am writing tests for an application using Outlook Redemption that absolutely must run 64-bit (it connects to windows MAPI and Outlook x64). Unfortunately, I cannot for the life of me make it run the test in 64-bit. I have tried using a…
CodeWarrior
  • 7,388
  • 7
  • 51
  • 78
6
votes
2 answers

Outlook Addin: Working with threads

I'm working on an Outlook Addin, and I have to process a large amount of items. This takes quite a lot of time, and I therefore tried to have the processing running in a different thread (using Task.Factory.StartNew). However, that results in…
SaguiItay
  • 2,145
  • 1
  • 18
  • 40
5
votes
2 answers

How to know if attachment is a signature in an Outlook email

I have an Outlook email and I need to process it's attachments. But when iterating through the attachments, if the attachment is a signature I want to skip it. To know if the attachment is a signature I am…
user536158
4
votes
0 answers

Accessing RDOSession in background thread only works if Redemption is installed

My Windows Forms application uses Outlook Redemption. Recently, I moved some message-listing code into a BackgroundWorker. On my development machine, it all works fine. However, on a client machine, I get this: Unable to cast COM object of type…
ChrisA
  • 4,163
  • 5
  • 28
  • 44
4
votes
1 answer

IntPtr.Size is always 4 despite AnyCPU on a 64-bit OS

I'm building an Outlook add-in that runs on a 64-bit OS with a 64-bit Outlook. However, I'm unable to get the right pointer size in order to trigger the RedemptionLoader code to load the 64-bit DLL file... It always gave me a pointer size of 4. I've…
codenamezero
  • 2,724
  • 29
  • 64
4
votes
1 answer

Internal addresses are missing after MSG to EML conversion using Redemption

I am currently evaluating the redemption library for converting MSG files to EML files. RDOSession session = new RDOSession(); RDOMail msg = session.GetMessageFromMsgFile(msgFile); msg.SaveAs(emlFile, rdoSaveAsType.olRFC822); So far Redemption is…
Fabian Barney
  • 14,219
  • 5
  • 40
  • 60
4
votes
1 answer

Using Redemption with a different user account from a server

I am experimenting with a small program to e-mails from an Exchange server and saving any attached files. From suggestions, I've decided to use the Redemption library. I have installed Microsoft Exchange Server MAPI Client and Collaboration Data…
jonasbc
  • 41
  • 1
  • 3
3
votes
1 answer

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…
Binary Phile
  • 2,538
  • 16
  • 16
3
votes
2 answers

Create outlook .msg file in C#

I am trying to create outlook .msg format file using my C# code. I have used below 2 code: Method 1 : Microsoft.Office.Interop.Outlook.Application objOutlook = new Microsoft.Office.Interop.Outlook.Application(); // Creating a new…
Neha
  • 143
  • 4
  • 19
3
votes
1 answer

Redemption mail object not properly linked to original mail item when using GetRDOObjectFromOutlookObject

I have run into this case that if I have obtained a MailItem from OOM and this email is a newly created one, it's entry ID would be null. If I use the RDOSession.GetRDOObjectFromOutlookObject method to get an RDOMail from this MailItem, the obtained…
Leon Zhou
  • 633
  • 6
  • 20
3
votes
1 answer

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: '…
Marius
  • 2,494
  • 6
  • 31
  • 41
3
votes
1 answer

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…
dthrasher
  • 40,656
  • 34
  • 113
  • 139
3
votes
1 answer

Sync to Outlook 2010 with redemption in vb.net

I am developing an application where I want to sync the outlook calendar, mail, etc. The piece of code which is there with me is working fine for outlook 2003, 2007. but I don't know what's the problem it is causing for outlook 2010. I use the…
3
votes
1 answer

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…
Alex
  • 3,099
  • 6
  • 41
  • 56
3
votes
1 answer

Redemption dll registration

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…
simon
  • 86
  • 3
  • 9
1
2 3
34 35