Pregunta

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?

¿Fue útil?

Solución

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).

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top