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
1
vote
2 answers

How to avoid embedded (inline) images when saving outlook email attachments

I have written a method to save outlook email attachments into hard disk and convert the file into Base64String. When I was saving the attachments, the embedded (inline) images also getting saved, even though they are not REAL attachments. I wanted…
Kushan Randima
  • 2,174
  • 5
  • 31
  • 58
1
vote
2 answers

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…
ElMatador
  • 557
  • 1
  • 6
  • 15
1
vote
1 answer

Getting exception when accessing outlook through Redemption COM

We are accessing outlook through redemption DLL in c#.net. We are using various services like: importing contacts, calendar integration etc. Sometime we are getting exception from redemption COM like: The file abc.ost is in use and cannot be…
1
vote
1 answer

Redemption LogonHostedExchangeMailbox

I am trying to access an Exchange Item using Redemption 5.8.0.4036. Here's sample code: var rdoSession = new Redemption.RDOSession(); rdoSession.LogonHostedExchangeMailbox(smtpAddress, credentials.UserName, credentials.Password); var folder =…
r_honey
  • 883
  • 4
  • 15
  • 31
1
vote
1 answer

MAPI_E_NO_ACCESS error setting RDOPstStore property

I'm attempting to set (actually clear) the PR_PST_PASSWORD property on a PST file using Redemption thusly: RDOSession session = new RDOSession(); RDOPstStore store = session.LogonPstStore(sourcePstPath,Type.Missing,Type.Missing,password); Int32…
Roger Harvest
  • 460
  • 5
  • 16
1
vote
1 answer

Outlook Redemption Logon error c#

I'm using Outlook Redemption for Exchange mails access. for this developing windows service... But I'm getting error when outlook connecting. OS: Windows 7 64 bit Outlook: 2010 32 bit Outlook Redemption Version: 5.7 Developing Platform Target:…
Selim ARLI
  • 13
  • 1
  • 5
1
vote
1 answer

Discard inline reply draft Outlook 2013 VSTO/Redemption

Is there any way to do the equivalent of a MailItem.Close(olDiscard) on the ActiveInlineResponse ? I posed a related question and was steered to redemption RDO to create messages in a sent state, but redemption appears to only patch Send, not Close,…
Mark Dineen
  • 390
  • 3
  • 10
1
vote
2 answers

Outlook Redemption : GetNamesFromIDs

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…
Ryan Lanciaux
  • 5,965
  • 2
  • 37
  • 49
1
vote
0 answers

Add LOCAL folder to IMAP store

I need to create folder in IMAP store. That folder needs to be a Local folder. When I call this code: for (int i = 1; i <= inboxFolder.Parent.Folders.Count; i++) { Log.Debug((RDOFolder2)inboxFolder.Parent.Folders[i]).FolderPath); } I get…
Velja Radenkovic
  • 716
  • 1
  • 6
  • 27
1
vote
1 answer

Get the SMTP sender address from new opened Outlook mail inspector with C# (VSTO or redemption) when multiple accounts configured

I've tried different approaches but I could not find a way to determine the sender address reliable from Outlook 2007 up to Outlook 2013 when multiple accounts can be selected in Outlook. My addin is build on Add-In Express. The aim is to get the…
aDoubleSo
  • 1,128
  • 9
  • 19
1
vote
1 answer

Change MAPI profile exchange service OST file with profman/redemption

I need to do the steps 9-12 that are exlained in this KB programatically with profman/redemption on an existing exchange MAPI profile (not while it's being created). http://support.microsoft.com/kb/2752583/en-us Is it possible, how? PS: I need to…
Machinegon
  • 1,855
  • 1
  • 28
  • 45
1
vote
2 answers

Detect Exchange version by Redemption

does anybody know how to detect Exchange server version when connected by Redemption? rdoSession.ExchangeMailboxServerName returns the machine name rdoSession.ExchangeMailboxServerVersion returns something like "14.3.181.4006" what I need to find…
1
vote
1 answer

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…
1
vote
0 answers

Outlook 2010 Redemption RDOSelectNamesDialog "Attempted to read or write protected memory" error

I am trying to display the SelectNamesDialog in Outlook 2010, using Redemption in C#, but I am getting the exception "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." on the third line…
1
vote
1 answer

How to set RDOMail.Sender property?

I am updating an Email using Redemption to set the value of Sender of the Email, so I use this code: RDOMail rdoMail = Globals.ThisAddIn.session.GetMessageFromID(mail.EntryID); rdoMail.Sender = //What goes here? But, I have no idea how to create…
Joe Almore
  • 4,036
  • 9
  • 52
  • 77