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
1 answer

Redemption updating Outlook appointment potentially causing Outlook save error

I have an application that syncs appointments between Outlook and my application. The syncing code uses Redemption to update the appointments in Outlook. When an appointment is added in Outlook, my code catches the item added event, generates an…
Leon Zhou
  • 633
  • 6
  • 20
1
vote
2 answers

Outlook Interop Accessing Deleted Item Folder from Shared Calendar

Consider the following scenario: Sombody shared a calendar with me. I have full access to this calendar. When i delete an Item in the calendar the Folder.BeforeItemMove Event is fired. So far so good. I want to Track deletion by check wether the…
1
vote
1 answer

Outlook VSTO: Convert Redemption.RDOFolder to Outlook.MAPIFolder

I am able to get a corresponding RDOFolder from Outlook.MAPIFolder using RDOFolder f = rdoSession.GetRDOObjectFromOutlookObject(outlookMapiFolder) rdoSession is initialised with current Outlook session. How to convert a RDOFolder back to…
eWilli
  • 107
  • 8
1
vote
1 answer

Custom Property MAPI_E_OBJECT_CHANGED

I'm developing an addin which needs to store some data on the mailitems. I'm using Redemption library and MAPI.Utils HrSetOneProp method. Only in Outlook 2016, I get "Error in IMAPIProp::SaveChanges: MAPI_E_OBJECT_CHANGED" every time I do a second…
1
vote
0 answers

How I know the BodyFormat property after decrypting Pgp message using redemption

I am trying to decrypt a MSG file for a message that is originally in HTML format but encrypted using Symentec Encryption Desktop (an outlook plugin used to encrypt PGP messages). looking at the Mapi properties of the encrypted message, i am seeing…
1
vote
1 answer

Using Redemption RDOContactItem cannot save more than a number of contacts MAPI_E_TOO_BIG

found I'm trying to create contacts into a user's Mailbox programmatically (using Redemption), based on values from a database. RDOContactItem rci = (RDOContactItem)session.GetDefaultFolder(rdoDefaultFolders.olFolderContacts).Folders["Contacts…
Miha
  • 303
  • 3
  • 19
1
vote
1 answer

Is it possible (and how) to make an RDOMail object wrap a MAPI IMessage object?

I am working to create a plugin for some application using C++. The application would provide me MAPI messages and gives me a chance to work on them. The application gives me the MAPI messages as pointers to the IMessage interface. I am used to…
Yacoub Massad
  • 27,509
  • 2
  • 36
  • 62
1
vote
0 answers

Invoke the Ribbon Split button of outlook from outlook add-in

I have a custom Ribbon Split button in outlook. I ideally want to invoke the top button of the split button(not the drop down) from my outlook Add-in. To do that I got the control of split button using Redemption and when i try to execute it I am…
Vikram
  • 23
  • 6
1
vote
1 answer

MS Access Redemption, safeMailItem.To not sticking?

I am trying to set the To field of a Redemption.SafeMailItem object called myRed. The variant to_email has value test@test.com and i set: myRed.To = to_email I breakpoint on this line and can verify that to_email has a value, but then after this…
DoubleBass
  • 1,143
  • 4
  • 12
  • 29
1
vote
1 answer

Creating .bat file with e-mail body in Powershell

I'm currently working on a script which will read a mail from a certain sender, who will be sending some commands for the scripts to run. The Main Idea: Sender sends a mail with a command for example: ipconfig /all > result.txt and the script…
Tom Kustermans
  • 521
  • 2
  • 8
  • 31
1
vote
2 answers

How to get Outlook Redemption.dll to self register during a click once install?

can't seem to figure it out... I need to copy Redemption.dll to a folder (eg. C:\Program Files (x86)\Redemption) and then regsvr32 it. I also need this to happen if Redemption.dll already exists on a users machine (i want to replace and re-register…
Jon Erickson
  • 112,242
  • 44
  • 136
  • 174
1
vote
3 answers

MAPI_E_NETWORK_ERROR (not logged in) Redemption (using Outlook not MAPI standalone)

I have got my application working fine with the standalone MAPI (1.2.1 CDO) however after removing that and installing Outlook, I cannot get it working. I get a MAPI_E_NETWORK_ERROR, which when I catch and return the exception message caught comes…
John Joseph
  • 921
  • 5
  • 14
1
vote
3 answers

Exception when calling RDORecipients.AddMultiple(ref Array, object) in Redemption

I am trying to use the RDORecipients.AddMultiple function to add a large number of recipients to a message. RDOSession session = new RDOSession(); RDOMail mail = session.CreateMsgFromMsgFile("test.msg", "IPM.Note"); List recipientsList =…
Doug
  • 149
  • 2
  • 11
1
vote
2 answers

Convert x500 email address into a smtp address

I am developing an outlook add-in using add-in express. When I get a outbox mail item, I can see my email address under "mailItem.SenderEmailAddress" as in x500 format. Is there a way to convert it as a SMTP email address. Here is my code : …
1
vote
1 answer

How to add blocked file types as attachments in an outlook mail item?

I am trying to extract attachments from a mail and attach those files to another mail Item. Everything works fine but if I try to add an attachment wich has a blocked extension, the attachment won't get added to the mail item. Following is what I…
Nilaksha Perera
  • 715
  • 2
  • 12
  • 36