rename msg file automaticly

M

Martin

I have made some shortcuts in the quicklaunch bar to mailfolders from
my projects in Explorer. When I drag and drop emails from Outlook 2003
on those shortcuts, the mails are archived on the right place.

At the company I work, this is the only way to archive...

Can anyone make a macro, that adds the date the mail was created, and
the sender to the msg file, somewhere between dragging and dropping?
( <date>-<name>-<subject>.msg )

Thanks!
 
E

Eric Legault [MVP - Outlook]

If you mean you are dragging e-mails to folders in Windows Explorer, then no,
you cannot effect any changes on the e-mail as it has "left the Outlook
building".

Thank you, thank you very much.
 
S

strychtur

So then how can this be achieved? I need to develop something that will
rename an email file to <date>-<name>-<subject>. either in Outlook or after
the email has been moved to a folder. I would prefer the later. The app will
go through a folder of .msg files and rename them.

Thanks for your help
Strychtur
 
E

Eric Legault [MVP - Outlook]

When exactly are these e-mails getting saved to the file system? If you have
code that's already archiving the e-mails, can you not change the file name
to whatever you want at that point?

Otherwise, if you need to rename a file in a folder when something happens
in Outlook, you'll need to either know where the file is so that you can grab
it and rename it, or develop a file system watcher robot that can perhaps
work in tandem with Outlook to rename those files.

--
Eric Legault - Outlook MVP, MCDBA, MCTS (SharePoint programming, etc.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top