Changing Name of email Folder

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Right now I am creating a program that searches the subject of new incoming
emails for a project number, and if it finds a project number, it checks to
see if this project already has a PST file. If the project does not have PST
file, then it creates one for the project. When it creates the folder in
outlook it calls it "Personal Folders" and I can't seem to change the name to
the project number, so if anyone can help me with that, that would be great.

Also I know how to move emails to another folder inside the inbox, but the
folder for the PST is outside the inbox and was wondering how to move the
email to that as well.
 
Am Wed, 21 Jun 2006 12:53:01 -0700 schrieb Colin:

Colin, simply writing the new name into Mapifolder.Name should work.

Starting from Session.Folders, you can walk through the hierarchy and get
the reference of that folder you want to move your messages to.
 
Back
Top