Relative Content

Tag Archive for outlook-redemption

invalid message executing safeitem.recipients.add on windows server system

have redemption installed on a Windows Server 2022 (tried Windows Server 2019 as well). In our code, we create the OLE object (no issues), add attachment(s), again no issues, then we call the safeitem.recipients.add( ‘[email protected]’ ). This fails and shows “invalid message” as the failure.

How to use Redemption Loader in Access 2016

I am currently building a database using Access 2016 and started using Redemption Loader to bypass the outlook security and enable me to send automatic emails from Access without user intervention.

Detecting email address of the owner of an appointment in a delegate calendar

Is it possible to always find the email address owner of an appointment in a delegate calendar in Outlook? I can detect if an appointment does not belong to a the main users folder and then, in some cases (and i cant work out exactly which) i can get the email adress of the delegate user from position 120 in the folder storeId. But in other cases this contains the email address of the main outlook user.
I can see, using OutlookSpy, that IMAPISession contains a list of added calendars and, from there, PR_EMS_AB_PUBLIC_DELEGATES_BL_O contains the email address of the delegate user but I dont know if this is useful as I need to get, from an open appointment, the email address of the calendar the appointment belongs to.

getting preferences for ReadReceiptRequested and OriginatorDeliveryReportRequested from MailItem without triggering Outlook Security Patch

I would like to use Redemption library (currently on version 5.27.0.6916) to get preferences for properties ReadReceiptRequested and OriginatorDeliveryReportRequested by creating a new MailItem in Inbox Folder and reading them.
Accessing them via Outlook Object Model (OOM) interop triggers the Outlook Security Patch, resulting in a confirmation dialog/security prompt (strangely enough, this only seems to happen in a terminalserver session).

How to enable SSL usage when using local XML autodiscover file?

I use the Redemption library and I encountered a problem I can not solve by myself.
In my project, I use a local XML file to login to the Exchange server (Autodiscover service is disabled on the server and can not be enabled). For this purpose, I create an Outlook Autodiscover “PreferLocalXml” registry key value and a domain name value defining the path to the local XML file. Redemption works correctly, but for some reason it does not use SSL when sending requests to the server.
Is it possible to force SSL usage in this case? However, using Autodiscover (without local XML file) works fine (SSL is used). Thank you in advance for your help.

Error in IMAPISession::OpenMsgStore: MAPI_E_FAILONEPROVIDER

i am trying to setup my window service on windows 2019 server with outlook 365 and getting below error. same code is running fine on windows server 2012 with outlook 365.Window service and outlook running on same service account which has admin access on server.