Ignoring "Public Folders" when listing folders on an Exchange account?

hi-
i downloaded javamail 1.4.2 and ran the demo example "folderlist" against an exchange account i have using the "imap" protocol.
it listed all my folders correctly, including "Public Folders" and its subfolders.
i'd like to not list "Public Folders" though, and so was wondering if there is a programmatic way of ignoring this folder and any
other public folders.
when i run "folderlist" in verbose mode, i get for the "Public Folders":
Name: Public Folders
Full Name: Public Folders
URL: imap://exchange-user@exchange-host/Public Folders
Not Subscribed
Is Directory
IMAP Attributes:
\Noselect
is it appropriate to intrepret "\Noselect" as folders i don't want to include in my folder list?

Use the Store.get*Namespaces methods. You probably only want to list the personal namespaces.

Similar Messages

  • Outlook 2011 for mac always hang when I try to add exchange account

    I use OSX mountain Lion on my macbook air
    I just install Microsoft Office 2011 for mac and found that when I try to add new exchange account, it always hang (after I push the Exchange button). what I should do
    Note: I had several time delete and re-install Office 2011 but it still not work

    If you no longer have the computer(s) you want to deauthorise,
    Log in to iTunes,  go to "view your account info" on the itunes store,  deauthorise all five, (Please Note: this can only be done Once every 12 months)  and then re-authorize your current Computer(s) one at a time.
    Authorise / Deauthorise About
    http://support.apple.com/kb/HT1420

  • When I set up my exchange account on iPad2 cameras always become disabled. What's the problem, can I use my cams along with using exchange mail?

    Can someone help me with this question? Why iPad 2 disables camera when I set up my Exchange mail account? How can I enable camera along with using mail?

    The iPad is not disabling the camera - the administrator for your Exchange account is. You need to go to the person who administers your Exchange account and ask them to lift the restriction on cameras in their Exchange system.

  • How do I stop Thunderbird from creating additional folders when I add a new mail account?

    I've been using Thunderbird for about 8 years now, migrating the configuration from version to version. Currently I have two accounts it picks up email from. I want to add a third account but everytime I do this, it creates a bunch of new folders with the name of the account in my folder tree. This is undesirable, mainly because it looks terrible and it's also dodging the default filtering I have set up globally for received messages.
    How do I create a new mail account without it making new folders and just using the local folders like the other accounts already do?
    I do not use Thunderbird's internal spam filtering, I use popfile and use message filters to sort the emails by headers Popfile adds to my messages. I do not understand why it won't let me make a new account like the other accounts without making a special folder for the new account. Please help?

    Item 1. Global inbox only works with POP mail accounts.
    Tools menu > account settings >server Settings > advanced and select use global inbox to turn it on. Note the folder will disappear, so move the mail you want from them before you change the settings.
    Item 2. IMAP accounts must have their own folders. The View menu > folder > unified view was designed to overcome that as much as possible,

  • When I add a new bookmark, and the (star) Page Bookmarked window appears - is there any way to expand the size of that window so that I can see my entire list of folders when adding a new bookmark to an existing folder?

    When I add a new bookmark, and the (star) Page Bookmarked window appears - is there any way to expand the size of that window so that I can see my entire list of folders when adding a new bookmark to an existing folder? The endless scrolling technique is far too tedious when trying to add a new bookmark, because the window is simply too tiny. Is there maybe a plug-in that will let me grab the corner of that window and re-size it? Thanks!

    I suggest you install the "Add Bookmark to Here2" extension, then you can expand the the list but you will not see the bookmark itself in the list if that is what you wanted. At the top you have three major folders you can select one of them and scroll up and down. Below that you have your most recently used folders and you can select one of them instead and scroll up and down. You can see the folder the bookmark is in -- they get added to the bottom
    If you really want to see the bookmark within the folder the same extension allows you to bring the bookmark to the folder from say the bookmarks sidebar that is why it is named as such. I use it but mainly i use the dialog.
    Please continue reading about bookmarks and some related extensions at
    * http://kb.mozillazine.org/Sorting_and_rearranging_bookmarks_-_Firefox
    * https://addons.mozilla.org/firefox/addon/add-bookmark-here-2/
    * http://dmcritchie.mvps.org/firefox/firefox.htm#addbookmarkhere2
    * http://dmcritchie.mvps.org/firefox/kws.htm
    If you are not using tags at all, you can remove a whole lot of confusion by removing them from the dialog via the extension.

  • Unable to access public folders on Exchange 2007 when user mailbox is on Exchange 2013

    Hi
    I have coexistence with Exchange 2007 and Exchange 2013. I've moved a mailbox to Exchange 2013 and now cannot view the public folders on Exchange 2007. The error message I get is "could not connect to the public folder server. microsoft exchange is
    not available. either there are network problems or the exchange server is down for maintenance."
    Mailboxes on Exchange 2007 do not have any problems viewing public folders. I can't migrate users to Exchange 2013 until this issue is resolved.
    The IIS permissions to the Public virtual directory on Exchange 2007 is set to Intergrated Windows and Basic authentication.

    Hi northerly,
    I recommend you follow the steps below for troubleshooting:
    1. Please run the Get-OutlookAnywhere cmdlet to verify the Outlook Anywhere settings on Exchange Server 2013 Client Access servers.
    2. If "ExternalHostName" is set, and "ExternalClientAuthenticationMethod" is Negotiate, change "ExternalClientAuthenticationMethod" to something other than Negotiate.
    3. If "InternaClientlAuthenticationMethod" is set to Negotiate, and "InternalRequireSSL" is True, change "InternalClientAuthenticationMethod" to something other than Negotiate, or change "InternalRequireSSL" to False.
    What's more, here is a helpful KB for your reference.
    Users of Exchange Server 2013 or Exchange Online can't open public folders or shared mailboxes on an Exchange 2010 or Exchange 2007 server
    http://support.microsoft.com/kb/2834139/en-us
    Hope my clarification is helpful.
    If there are any problems, please feel free to let me know.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • Excluding public folders when enumerating Outlook folders

    I have an Outlook plugin that searches all Outlook folders for certain information.
    However, some users have been complaining that the plugin searches public folders as well, which are huge in certain corporations, and that in turn makes the search very slow.
    I now use the following mechanism to search Outlook folders:
    NameSpace nameSpace = outlookApp.GetNamespace("MAPI");
    Folders accountFolders = nameSpace.Folders;
    try
    if (nameSpace == null || accountFolders == null)
    return null;
    for (int i = 1; i <= accountFolders.Count; i++)
    MAPIFolder accountFolder = accountFolders.Item(i);
    MailItem res = null;
    try
    res = ScanFolder(accountFolder, mailId, scanUI);
    finally
    if (accountFolder != null) Marshal.ReleaseComObject(accountFolder);
    if (res != null) return res;
    return null;
    finally
    if (accountFolders != null) Marshal.ReleaseComObject(accountFolders);
    if (nameSpace != null) Marshal.ReleaseComObject(nameSpace);
    I've tried to look at the MAPIFolder object, but I didn't find any flag that could help me distinguish standard folders from public folders. Is there a way to do that?
    Thanks,
    Jan

    Read the PR_MDB_PROVIDER property (DASL name http://schemas.microsoft.com/mapi/proptag/0x34140102) using MAPIFolder.PropertyAccessor.GetProperty, convert it to hex using MAPIFolder.PropertyAccessor.BinaryToString. For the PF store objects,
    PR_MDB_PROVIDER property will be pbExchangeProviderPublicGuid (78B2FA70AFF711CD9BC800AA002FC45A) - you can see that property (and others) in
    OutlookSpy: click IMAPIFolder button.
    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

  • Exchange 2010 System Public Folders trying to replicate to decommissioned Exchange 2003

    I was checking the mail queue on Exchange 2010 and noticed several hundred messages in retry. Looking at the messages I found that they were all destined for an old 2003 exchange that has been decommissioned. I looked at the System Public Folders and found
    replication is set up on "events root, OWAScatchpad, SchemaRoot, and Store Events. They are set to replicate to the old mail server. When I try to remove the old server from replication it gives me an error;
    Microsoft Exchange Error
    The following error(s) occurred while saving changes:
    Set-PublicFolder
    Failed
    Error:
    You must specify a value with the Replicas parameter.
    OK
    Not sure where to go with this error.  Could someone point me in the right direction?
    Thank you,
    Wade Harris

    Hi,
    For this issue, I recommend you add an Exchange 2010 public folder database to the replica list and then remove Exchange 2003 server from this list to check result.
    I tested in my lab, and I got the same error with yours, we need to keep at least one public folder database in the replica list.
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • Expanding Folders in "list" view mode.

    How can I expand as well as close folders when viewing them in the "list" view mode, all in one stroke as opposed to having to expand each folder one at a time?

    Neither did I until XChip73 asked the question. I decided to see if the Mac OS X programmers had put that functionality into the Finder. A little experimentation found that they had.
    In any case you are quite welcome captfred. What are you captain of?

  • My iphone started deleting folders when syncing or updating

    My iPhone has started deleting folders when I sync or update my apps.  This is a brand new problem since my recent software upgrade.  Never occurred before.  Any ideas what is going wrong?

    Standard troubleshooting...
    - Try a reset by pressing the home and sleep buttons until you see the Apple logo, ignoring the slider. Takes about 5-15 secs of button holding and you won't lose any data or settings.
    - If still a problem restore with your backup.
    - If still a problem restore as new, i.e. without your backup. See how it runs with nothing synced to it.
    I think your next step is to restore with your backup.  FWIW, I've not seen or heard of this issue.

  • Configure legacy public folders where user mailboxes are on Exchange 2013 servers

    Hello all,
    I have mailboxes on an exchange 2013 server than need access to public folders on a 2010 server before I migrate them over.  I followed the commands in the TechNet article with the subject "Configure legacy public folders where user mailboxes
    are on Exchange 2013 servers" (sorry, I wasn't allowed to insert a link because I wasn't verified?).  The problem is when I run the last command of "Set-OrganizationConfig -PublicFoldersEnabled Remote -RemotePublicFolderMailboxes ProxyMailbox1,ProxyMailbox2,ProxyMailbox3"
    on the 2013 server, using the mailbox name I had created, it says it cannot be found.  Of course I checked and the mailbox exists, is configured properly, and so is the new database.  The 2013 EAC also sees the mailbox with no issues. 
    Can someone tell me why I am getting this error?
    Thanks,
    Shaibal

    Hi Mavis,
    Thank you for your response.  I am the full domain admin, and check and was part of both groups mentioned above.  Also, I have only one 2010 server with public folder, and so the command I am running on the 2013 looks like this: Set-OrganizationConfig
    -PublicFoldersEnabled Remote -RemotePublicFolderMailboxes PFMailbox1. I even just created a second user and mailbox using the console instead of the shell, and still no luck.
    Below is the error I get:
    [PS] C:\Windows\system32>Set-OrganizationConfig -PublicFoldersEnabled Remote -RemotePublicFolderMailboxes PFMailbox2
    Couldn't find object "PFMailbox2". Please make sure that it was spelled correctly or specify a different object.
        + CategoryInfo          : NotSpecified: (:) [Set-OrganizationConfig], ManagementObjectNotFoundException
        + FullyQualifiedErrorId : [Server=ZOR-EXCHANGE01,RequestId=cc567b2f-34d8-41ba-9261-143223566e06,TimeStamp=3/5/2015
        4:36:10 PM] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] 2EF24201,Microsoft.Exchange.Management.Sys
      temConfigurationTasks.SetOrganizationConfig
        + PSComputerName        : zor-exchange01.zubatkin.lan

  • Lost Source List folders

    In ITunes 4 I had carefully made folders with music I liked. When I upgraded to 6 I lost all source list folders. I have folders in my music folder but that is the default folders according to the name of the group and not my personal folders. Everytime I upgrade this happens. Is there a way to fix this or do I have to start all over again?
    I don't think I am going to upgrade again.

    The only place I've seen the folders matter (other than iTunes itself) is Front Row.
    It would be nice to see these on my iPod.

  • How to make metadata fields required when creating folders

    Hello all....
    Related issue with SR 3-6472229431 and SR 3-6471130611.
    We're using DIS 11.1.6 64-bits (2011_11_29 (rev 9756) 11.1.6.97) in a Windows 7 64-bits workstation (with UCM 11.1.1.5 in a Linux machine). The check-in of images to UCM goes fine.
    I'm trying to make some metadata fields required when creating a folder. These fields are required when making a check-in, but not when creating folders.
    Folders_g is enabled. DesktopTag too.
    EDIT: Patch: 14695303 - WCC 11.1.1.5.0 BUNDLE ( MLR 16 ) NOV 6 2012 applied.
    Is it possible?
    Thanks for all.
    Edited by: fgomes on 22/11/2012 03:24

    After reading your response and rereading the original question a bit closer, the metadata prompting feature does not apply to creating new folders, only content.
    Again, though, I think the focus here is in the wrong place. The metadata applied to a folder is intended to be ultimately applied to the content. You can build global rules that fire on submission of content to check if a field has a value, and throw an error if the value is empty.
    If you expect users to create folders (and actually apply any metadata to the actual folder itself), you will be disappointed. Experience shows that users are not interested in that level of detail when creating content, let alone folders. Letting typical users create folders is a bad idea anyway, as they tend to create the same inefficient folder structures they previously created in file shares within Content Server.
    If you need to tightly control folder attributes, you'll be better served by locking down the ability to create new folders. Otherwise you're looking at some type of customization. Keep in mind that you won't be able to customize the right click behavior of DIS. Any changes to DIS would have to be an enhancement request.

  • Illustrator CS5 icons showing up on all folders when I open them with a grey "?" .links to CS5-

    I have illustrator CS5 icons showing up on all my folders when I open them with a grey "?" mark to the right, even when I open my HD*--When clicked on, the '?" shows zero data but this is a link to Illustrator CS5 that I need to undo. Please assist. Thank you.

    Here are Apple's instructions:
    If you are using iPhoto ’06 or earlier, you will need to follow these steps to tell iPhoto where the Library is now located:
    Hold down the Option key on the keyboard and open iPhoto. Keep the Option key held down until you are prompted to create or choose an iPhoto Library.
    Click Choose Library.
    Locate and select the iPhoto Library in its new location.
    (from http://support.apple.com/kb/HT1229 )
    Below (in the link below) is what you should see when holding down the option key and opening iPhoto. Keep holding down the option key until this dialogue comes up. You want to select the Choose Library button.
    http://appleclinic.wordpress.com/2008/04/06/change-default-dir-iphoto/

  • No seperate albums created when importing folders containing photos

    Hi ... Need some help here please..
    When importing folders containing photos in iPhoto each folder would be made into an Event. When I do the same with Photos all my pictures are placed into Albums  - All Photos. No separate Albums are made for each folder, all pictures are mixed up together.
    Why is Photos doing this?
    (Im not importing from iPhoto ... New Mac)

    Simon
    Yes it does say that, but I have to say that a significant number of people can't get that to work, and I've never found an adequate reason why.
    I recommend that you begin to import at the bottom of your hierarchy. Drag to the left hand pane and iPhoto will create a Roll and and album of the same name. You can then create the enclosing folders in iPhoto: (File -> New Folder).
    Regards
    TD

Maybe you are looking for