Question

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 the RDOAddressEntry to set the Sender property of the Email, any ideas?

Was it helpful?

Solution

You need to set it to an instance of the RDOAddressEntry object.

RDOAddressEntry object can be retrieved from another RDOMail object (RDOMail.Sender), RDOSession.AddressBook.ResolveName, or one of the address lists (RDOSession.AddressBook.AddressLists).

You might also want to set the RDOMail.SentOnBehalfOf property (it too needs an instance of the RDOAddressEntry object).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top