folder path of a mail RRS feed


  • If the email item is mail the mail.Parent is the folder where the email is stored:
    Outlook.Folder folder = mail.Parent as Outlook.Folder;
    string folderPath = folder.FolderPath;

    Ken Slovak
    Author: Professional Programming Outlook 2007
    "redgolda" <=?utf-8?B?cmVkZ29sZGE=?=> wrote in message news:3bd5a68d-7d92-4a92-9ef8-eeeca9f2a6d4...

    hello all,

    how can i get the folder path of a given mail?

    tnx, shiran

    Ken Slovak MVP - Outlook
    • Marked as answer by redgolda Thursday, October 11, 2012 3:03 PM
    Thursday, October 11, 2012 2:58 PM