0
votes

Is it possible (via VBA or other method) to apply a rule (eg. 'Move Email to Folder X') to an email based just on text in an attachment on that email.

I receive emails with XML attachments manually open them to find a specific date inside. I then file the emails into different folders based on this date.

I wpuld like to automate this process. The XML file has a field called 1/1/2013 . I would like the macro to open this attachment/ extract the date value / close the attachment, then move the email into a folder based on that date. (nothing too fancy...eg, I will initially create 12 folders based on each month)

I successfully use built in 'Rules' when the email body has the text I use to sort, but I need something specifically for attachments.

1

1 Answers

0
votes

Yes you can, KB 306108 has a sample script which can be run as a rule action (where you can do further processing).