Changing Name of email Folder

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.
 
M

Michael Bauer

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.
 

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