I want to convert eml file to msg file for which i am using Redemption class.
Used the import method like this:
RDOMail rdoMail = session.CreateMessageFromMsgFile(msgfilepath);
rdoMail.Import(emlfilepath, (int)rdoSaveAsType.olRFC822)
rdoMail.Save();
This converts the eml to msg but sometimes fails when there are large attachments (400mb+).
I tried to use different saveas types like olRFC822, olMsg, olMsgUnicode, olRFC822_Outlook, olRFC822_Redemption, but all tries to import full message.
Is there any way in Redemption where i can Import only the item without any attachments. I want that every time i use Import method, attachments are not included in the msg file. How can it be done.