![]() ![]() If the attachment is not a message then it is extracted as per your current code.The code then processes this temporary message to strip the attachmnets to fsSaveFolder.CreateItemFromTemplate is used to access the saved file as a new message (msg2).If the attachment is a message, it is saved as "C:\temp\KillMe.msg".Tests whether the attachment is an email message or not (if the filename ends in msg). ![]() The code below uses this approach to work on the email as an attachment If isAttachment = True Then Call findFiles(fsSaveFolder) Msg.Attachments(1).SaveAsFile sSavePathFS SSavePathFS = fsSaveFolder
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |