In C#, using a licensed version from 2016, just upgraded to the latest, and it broke the API pretty good. Used to be able to set UserProperties (storing a number Id to find a sent email later) from a C# client that launched Outlook. Then fetching from EWS on a service I could get the value from the Exchange server to then find that email specifically.
Aspose.Email.MailMessage.Headers[“SomePropertyName”] since when I fetched I could just pass a string property name to the extended properties parameter.
What is the new way to do this? The user has to launch Outlook so they can tweak their email, send it, then I want to grab it on the backend later and upload the actual email they sent to our doc management system to prove they sent it for auditing/regulatory reasons.
Thanks! Been using Aspose licensed for over 10 years!
Thanks for the links, but it was already working through Aspose Email .Net 2016.09.08.
The Id comes from a sql database, in order to link to that email so I know where to store it later in a separate doc management system. I need to launch the email from Outlook (interop right now) and then the user can tweak the email send it, not send it, whatever, then in EWS, I dig it out from a separate windows service and extract that Id and then upload it to another database. Thanks.
Thank you for writing to us. I am afraid we may not guide with the functionality of Interop but yes you have found a solutions. We are happy for your feedback and we may add an article to our API related to this.