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/
"strychtur" wrote:
> So then how can this be achieved? I need to develop something that will
> rename an email file to --. 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
>
>
> "Eric Legault [MVP - Outlook]" wrote:
>
> > 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.
> >
> > --
> > 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/
> >
> >
> > "Martin" wrote:
> >
> > > 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?
> > > ( --.msg )
> > >
> > > Thanks!
> > >
> > >