scripts & rule wizard

  • Thread starter Thread starter matt
  • Start date Start date
M

matt

I now have a macro that will save an attachment to my hard
drive, but I would like to have this happen
automatically. I receive an email everyday from the same
person and currently have a rule in place to move the
email from my inbox to a specific folder, based on the
sender's address. I have read the info at the following
links, but am still not clear on how to get this to work.
Thanks for your help,
Matt

http://support.microsoft.com/?kbid=306108
http://www.slipstick.com/dev/code/zaphtml.htm
 
Outlook version?
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
The KB article is irrelevant, since you have Outlook 2000, not 2002. The article from my web site gives you a basic framework for using the ItemAdd event to monitor a folder for new items. You might find the example at http://www.slipstick.com/dev/quarexe.htm more useful. To save an attachment to the hard drive, you use the Attachment.SaveAsFile method. These samples show a couple of different ways to save attachments:

http://www.outlookcode.com/codedetail.aspx?id=70
http://www.slovaktech.com/code_samples.htm#StripAttachments

--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
Hello
I have the same problem like Matt. Will get a report automatically every morning and want to save this .txt to my C drive, automatically

Thanks in advance
Katrin
 
Back
Top