Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Outlook - save attachment based on sent time

Status
Not open for further replies.

dhamDIT

Technical User
Apr 4, 2006
20
CA
Hi, I have some code which is successfully used as a script, run by a rule. It automatically saves certain attachments to my hard-drive. I would like to further refine this by limiting the attachments saved to only those which are sent in emails during a specific time period. ie 6:00pm-6:30pm. (I get a report every half hour and only want to save the end of day report). Any assistance with this is appreciated
D
 
Have a look at the CreationTime or ReceivedTime properties of the MailItem object.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top