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

Hiding the search folder in PST store

I have created a pst store where the folder structure will be managed by my addin. Is it possible to remove or hide the "Deleted Items" and "Search Folders" folders ?
1
vote
0 answers

Persistent exchange password prompt after update to Redemption 5.22

I am working on an outlook vsto addin that uses redemption for some of the background outlook integration. we recently updated to redemption version 5.22 and started getting reports from one of our customers, that they were getting persistent…
1
vote
1 answer

No autodiscover servers in the AD, Outlook Redemption

we’re currently migrating from Exchange Server 2008 to 2013. We use an own coded application with Outlook Redemption, which cannot logon to the new Exchange Server 2013. In the old version of our application we used the function…
1
vote
0 answers

RDOSession.LogonExchangeMailbox doesn't try to login

I have a project that I have to migrate from Windows Server 2013 to Server 2016. This project use Redemption 4.2 to send the mail. But it works on 2013 but not in 2016 My server Exchange is 2010. My code Public RDOSession As…
Antoine V
  • 6,998
  • 2
  • 11
  • 34
1
vote
2 answers

Checking if an email address has automatic replies (OOF) turned on

I want to loop through a list of email addresses and check if they have OOF's turned on (these will be other people's email addresses). Then if possible retrieve the OOF text. I tried the options of getting the OOF through VBA but with my own trial…
1
vote
5 answers

AV when sending email via Outlook and Redemption

Here is my code: const olMailItem = 0; var olApp, OlNameSpace, OlItem, rdSafeItem, rdUtils: variant; begin olApp:= CreateOleObject ('Outlook.Application'); olNameSpace:= olApp.GetNamespace ('MAPI'); olNameSpace.Logon; olItem:=…
No'am Newman
  • 6,395
  • 5
  • 38
  • 50
1
vote
1 answer

How to build and deploy an Windows x64 application using Redemption?

I created an Windows application, using the Redemption library. This application simply access the Stores from Outlook and store messages in a web application. I am using the RedemptionLoader class, so I don't need to register Redemption. The…
1
vote
1 answer

Error when using Redemption.SafeMailItem - OLE error 8004010E(MAPI_E NOT ENOUGH RESOURCES)

In the company I work for we are using redemption to send emails from our old Delphi client. We have used it for many years, but after the upgrade to Office365 - outlook 1906 this error has started occurring. The issue occurs on all our version of…
HitzSPB
  • 158
  • 10
1
vote
1 answer

Is it possible to make a NOT LIKE filter on the ExecSQL subject of a MAPITable? Outlook Redemption

Is it possible to make a NOT LIKE filter on the ExecSQL subject of a MAPITable? I'm doing this filter: MAPITable mt = session.Stores.MAPITable; mt.Item = inbox.Items; var records = mt.ExecSQL($"select Subject, EntryID from Inbox Where Subject not…
Anderson Rissardi
  • 2,377
  • 1
  • 16
  • 21
1
vote
0 answers

Outlook Redemption throws MAPI_E_OBJECT_CHANGED error saving RDOMail using unwrapped RDOStore

This is a follow up question from Outlook interop code throws "message has been changed" error the second time when the code tries to save a mail item. While the unwrapped store works fine for quite some time, today I found a client machine using…
Leon Zhou
  • 633
  • 6
  • 20
1
vote
1 answer

How to logon from a Serviceapplication, without knowing Outlookversion (2010,2013,2016,etc) in advance

Im writing a Service-Application that should monitor one or more ExchangeMailboxes for incoming Mails to perform some action with those. The Service will run in different environments, which means i need to support Outlook 2010 to 2019. How can i…
yberk
  • 78
  • 1
  • 7
1
vote
1 answer

How to logon to an Outlook mailbox?

I am trying to login to a mailbox using the following code, but it logs in to my local outlook mailbox instead of the one specified in the code in oNS.Logon("account", "password", false, false) line. Do I need to use Redemption.RDOSession for the…
1
vote
1 answer

"Interface not supported" ComException when setting RDOSession.MAPIObject

My addin is encountering the error on some client machines when trying to set as RDOSession.MAPIObject= application.Session.MAPIObject in a C# based com add-in. The code is executed in the main thread, RDOSession object is created through redemption…
Tim
  • 45
  • 8
1
vote
1 answer

Get Outlook Shared Calendar without Delegation VBA/C#

As the GetSharedDefaultFolder method description states: This method is used in a delegation scenario, where one user has delegated access to another user for one or more of their default folders (for example, their shared Calendar folder). Is…
jj.doe
  • 13
  • 3
1
vote
1 answer

How to compare e-mail messages without using the body of the message?

How to compare e-mail messages without using the body of the message? For example: John sent a message to Mary and "save" this message in my addin. Both have the same addin. When Mary receives the message, this message must be categorized because…