Chilkat Email Object - Save email without attachments

Viewed 20

I need to save the email without the attachments in EML format with Chilkat. I'm using VB.NET and an IMAP connection and I have already checked SaveAllAttachments (that does the opposite saving only the attachments) and SaveEml (for email with attachments included).

                'Attachments only
                email.SaveAllAttachments(MyInPath)

                'Email with attachments in EML format
                email.SaveEml(MyInPath & "\" & email.GenerateFilename())

I'd like to keep a regular EML format (with header, sender, subject, body erc.) but without the attachments (so not just the body on a TXT file).

Is there a way to do it simply?

0 Answers
Related