I'm refactoring VBScript code that used another email component. I want to scan an email inbox for emails with attachments. For each attachment in each email message I want to save the attached file in a predetermined folder on the HDD, with a predetermined name. The only examples I can find in your examples are fullEmail.SaveAllAttachments method. I've looked at imap.FetchAttachment method but this seems to assume that the attachment will be saved as to file as the attached filename. How can I save each individual attachment as a separate file with my own constructed filename and folder path?
I don't understand this sentence, perhaps you could clarify: "FetchAttachment method but this seems to assume that the attachment will be saved as to file as the attached filename."
From what I read in the ChilkatImap documentation, FetchAttachment has a saveToPath parameter that should let you save any attachment (by index) to any arbitrary path/filename. Is this not working as described?