Read other user's mailbox on MS Exchange through JavaMail

Hi All,
I have a problem on trying to read other user's mailbox on MS Exchange through JavaMail.
I am using administrator to connect to MS Exchange server and try to use Store.getUserNamespaces(java.lang.String user) to get another user's folder but it return nothing... however when I used Store.getPersonalNamespaces(), it works...
I have grant the full control permission of the user for the administrator. I can use administrator to see other user's mailbox through MS outlook. And I also try to connect to MS Exchange through Netscape Mail client(a standard IMAP mail client).Unfortunately netscape mail client can not see other user's mailbox though other functionality works well...
I suspect MS Exchange does not fully support IMAP. does anyone has idea on this isssue? Please give me some comment...
Thanks very much in advance...

Hi, I know that it is almost 2 years ago that you put your question. But I am very interested whether you found a solution because I encountered the same problem as you had.

Similar Messages

  • Is it possible for the JDBC Lookup in PI 7.1 to read other user's table?

    Hi,
    I have the requirement of using the standard JDBC Lookup in PI 7.1. The user setup in the receiver JDBC adapter is only a service user that has a read access on some tables that are owned by another user or schema. When I am trying to do the import of Table's metadata, I can only see tables that are owned by the user setup in the receiver JDBC adapter.
    Is there any any ways on how the user used in the receiver JDBC adapter can read another user's table (given that it has read access) during the import of Table's metadata?
    Thank you in advacne for any response.
    -Niro

    Hi Matt,
    I am struck in a similar kind of problem.
    I have to do lookup from a view(not a table) available in a particular schema.
    When i am using the external definition --> category dbtab
    I am able to see all the tables available in the schema.Whereas i not able to see any views.
    Please let me know how to proceed in such scenario?
    Thanks,
    Sudhansu

  • Files associated with user's mailbox database and reverent directory path (exchange 2010)

    Hi,
    I want to know all the files and other associated types of log files with particular user's mailbox database in exchange 2010 & its reverent directory path . Please suggest
    Aditya Mediratta

    Hi,
    If you want to view the database file path and associated log file path, you can use the following command.
    Get-MailboxDatabase "Mailbox Database" | fl *path
    Default path is C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database
    Best regards,
    Belinda Ma
    TechNet Community Support

  • Setting OOF for other users using EWS

    Hello everyone,
    I try to set the OOF for other users using EWS in an Exchange 2010 SP2 environment.
    I use this code:
    ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010_SP2);
    service.Credentials = new NetworkCredential("username", "password", "domain");
    service.TraceEnabled = true;
    service.TraceFlags = TraceFlags.All;
    service.AutodiscoverUrl("[email protected]");
    OofSettings OOFSettings = new OofSettings();
    OOFSettings.ExternalAudience = OofExternalAudience.All;
    OOFSettings.ExternalReply = "Test";
    OOFSettings.State = OofState.Enabled;
    service.SetUserOofSettings("[email protected]", OOFSettings);
    The account I use is a Service Account our Exchange Team set up. I can see all service properties, so I would assume that the connection to the ExchangeService works fine.
    However when SetUserOofSettings executes, I receive a ServiceResponseException “Connection did not succeed. Try again later”.
    What am I missing? Unfortunately, the error message does not provide any helpful informations.
    Thank you and best regards
    Julian

    >The account I use is a Service Account our Exchange Team set up. I can see all service properties, so I would assume that the connection to the ExchangeService works fine.
     What rights have they given the account, giving an Account Exchange Admin permissions won't give you any rights to access the Mailbox content. For this to work the account you using would need to be either have been granted Full Access via Add-MailboxPermission
    or been given Application Impersonation rights (if its the later you need to make sure you use impersonation in your code).
     I would suggestion you try using the EWSEditor
    http://ewseditor.codeplex.com/ to test this out eg try connecting to the users folders and then try the OOF operation via the EWSEditor option to see if this works.
     Other things to check is if this is a Brand new mailbox that has never been connected to before then the Mailbox folders won't be initialized (you can check this using Get-Mailboxstatistics) and you would get an error trying to perform any of
    the EWS operations. If it works on some users and not others the possibly your getting throttled.
    Cheers
    Glen

  • COREid Administrator account cannot add other users

    I'm brand new to this product (and to LDAP), so please bear with me...
    After installing COREid, I cannot add new users using the admin account I established during installation. I get "You do not have sufficient access rights". I can perform other admin tasks, such as assigning "Master Identity Administrator" role to another existing user. I verified that my admin is also a "Master Identity Administrator". I'm using Sun One Directory Server as my back-end LDAP server. I also verified that the COREid admin account can add other users directly to the LDAP store through the Sun admin console.
    Any suggestions would be greatly appreciated!
    Thanks,
    Andy

    First create the workflow.
    Go to "User Manager > Configuration > work Flow Definition"
    - kpp

  • Exchange SBS2003: Email that is deleted in Outlook 2010 is not deleted on iPhone 4, or marked read after upgrading to 6.0.1.  Win 7 64bit.  2 Other users in our office with iPhone 4 and iPhone 4s aren't having this issue.  They didn't upgrade to 6.0.1.

    Exchange SBS2003: Email that is deleted in Outlook 2010 is not deleted on iPhone 4, or marked read after upgrading to 6.0.1.  Win 7 64bit.  2 other users in our office with iPhone 4 and iPhone 4s aren't having this issue.  They didn't upgrade to 6.0.1 though.  Mail that is deleted or read on the iPhone 4 is deleted or marked read in Outlook 2010.  So it's a one-way problem.

    Exchange SBS2003: Email that is deleted in Outlook 2010 is not deleted on iPhone 4, or marked read after upgrading to 6.0.1.  Win 7 64bit.  2 other users in our office with iPhone 4 and iPhone 4s aren't having this issue.  They didn't upgrade to 6.0.1 though.  Mail that is deleted or read on the iPhone 4 is deleted or marked read in Outlook 2010.  So it's a one-way problem.

  • How to access unread mails of all users in Exchange server without having Passwords and without giving mailbox access to other user.

    Hi all,
       I am using Exchange server 2013, my task is to create
    Service , that
    need's to  monitor continuously for new mails of all Mailboxes in
    my server. if any user got new mail i need to get that Mail Subject, Mail Body, Sender Email Address [From emailId] .  
    Limitation
    : I don't have Passwords of mailboxes , so i gave all mailbox access permission  to one user , then i completed this   service using below code.
     But now, Client
    not willing to give Mailbox Permissions to one user because of security problems.
    How can i do this without passwords and without giving permissions to other user ?
    i don't want all mailbox access , i just need only
    access Mail Subject , Body and Sender mail address .
    How can i achieve
    this ?
    Process i follow
    => I created new user in server , and then i gave full permissions of all Mailboxes to newly created user[ex: james] in database level.
         i use below command for giving permissions in database level.
    Get-MailboxDatabase -Identity <Database Name> | Add-ADPermission -User <User> -AccessRights GenericAll
     => using below code i am searching unread mails of all user Mailboxes and then getting Subject, body and Sender Email            address . here i am have list of users,
    ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2013);
    service.Credentials = new WebCredentials("[email protected]", "password");
    service.AutodiscoverUrl("[email protected]");  foreach (Object obj in usersList) // here i have Mailbox users list in usersList
                 { var userMailbox = new Mailbox(obj.user);
    var folderId = new FolderId(WellKnownFolderName.Inbox, userMailbox);
    SearchFilter.IsEqualTo filter1 = new SearchFilter.IsEqualTo(EmailMessageSchema.IsRead, false);
    var itemView = new ItemView(50);
    var userItems = service.FindItems(folderId, filter1, itemView);
    foreach (var item in userItems)
    item.Load();
    var senderEmail = ((EmailMessage)item).From;
    var subject = item.Subject;
    var body = item.Body;

    You would need to check that possibilities via WebServices but suggest you to post this in Development forum to get help from programmers....
    http://social.technet.microsoft.com/Forums/office/en-US/home?forum=exchangesvrdevelopment
    Blog |
    Get Your Exchange Powershell Tip of the Day from here

  • Exchange 2007 - User's mailbox disappeared in EMC but they can still send and receive email

    We have a user that was complaining about not being in the address book anymore.  After I did a little rooting around in management console I noticed that their mailbox was no longer listed under Recipient Configuration -> Mailbox, but what's weirder
    is I can do a search and find her listed in the results - at which point I can right-click her name and do everything I normally can with no problem. Listing all of the mailboxes with PS shows her still there too.  As far as I know, she is the only user
    having this problem.
    She can send and receive email just fine, but like I said, she is no longer in the global address list so other users have trouble sending her stuff.  At her computer, I tried repairing her email (under account settings) but the process would fail when
    searching for her settings.  I don't know if this is a stupid thing to add, but I did run Clean-MailboxDatabase on our first storage group to see if her mailbox had been deleted or disconnected or whatnot but nothing is currently showing up in Recipient
    Configuration -> Disconnected Mailbox.
    Some info on our setup:
    Exchange 2007 on Windows Server 2003r2
    AD is on Windows Server 2008r2
    Her computer is running Outlook 2010
    I did restart our Exchange server 2 days ago to update VMWare tools, but no Windows updates were installed.  She couldn't tell me exactly when this problem started, but it was more-than-likely in the last couple of days as she was recently married and
    I had to change her name in AD and Exchange - so everything was confirmed 100% functioning 2-3 weeks ago.
    I'm at a lost for what the issue could be, but then again Exchange isn't exactly my forte, so any help would be much appreciated.

    First things first - is her mailbox hidden from address lists?  Run
    Get-Mailbox <alias> | Fl HiddenFromAddressListsEnabled to find out.  It probably isn't, but we need to clear this, just in case.
    Now, assuming it is not hidden, have you searched for both her maiden and married names in your directory?  Often, when the name on a mailbox is changed, the display name is not - and vice versa.  Also, has her email address also changed? 
    If so, has a secondary proxy address been added to reflect her maiden name?  I'd do this, just to be sure things aren't lost that should be delivered to her.
    I can't think of anything else obvious right now.  After you've checked these things, get back to us with their results.

  • A Unified Messaging server running the same version of Exchange as the Mailbox server that hosts the user's mailbox couldn't be found.

    Hi Team-
    we are getting below alert in Exchange 2013 on UM server
    a Unified Messaging server running the same version of Exchange as the Mailbox server that hosts the user's mailbox couldn't be found.
    eventID 1647 
    The Microsoft Exchange Unified Messaging Call Router service rejected the call for the following reason: 15505;source="Exchange 2013 server  ";reason="Couldn't find a valid Unified Messaging server to redirect the call." Microsoft.Exchange.UM.UMCore.CallRejectedException:
    An incoming call with ID for user  was rejected because a Unified Messaging server running the same version of Exchange as the Mailbox server that hosts the user's mailbox couldn't be found.
    we have exchange 2010 and Exchange 2013.
    Sender of the voice mail is on the Exchange 2013 and receiver of the voice mail is on Exchange 2010 
    Is this not supported scenario of Exchange 2013 UM server and Exchange 2010 mailbox server
    ksrugi

    You cannot and should not expect Exchange 2013 UM function for mailboxes housed in Exchange 2010.  And the reverse is true as well.  If you want Exchange 2013 UM to function for users, their mailboxes need to be in Exchange 2013.  Exchange
    2013 UM should be able to redirect calls to an Exchange 2010 UM server if it detected a call was destined for a mailbox being hosted by Exchange 2010, assuming the UM servers/roles/services are within the same UM Dial Plan.

  • Exchange 2010 disconnect AD user from mailbox and reconnect the mailbox to a new copy of the same user with a different username

    How can i get the following done:
    Exchange 2010 disconnect AD user from mailbox and reconnect the mailbox to a new copy of the same user with a different username?
    i nmust do this for 16 users TODAY, SO PLEASE HELP ME OUT HERE.
    Thanks in advance!!
    kind regards,
    Rene Veldman
    System Administrator Teidem bv, The Netherlands.

    Rene,
    Why are you not changing the username of the existing account, instead of deleting the existing one and creating a new one?
    If you truly need to delete and create new, you can save the GUID for the mailbox (Get-MailboxStatistics <mailbox alias> | Fl MailboxGuid), mail disable the existing account (Disable-Mailbox <mailbox alias>
    will work), clean the mailbox database it was hosted on (Clean-MailboxDatabase
    <database name>), then create your new account and recover the existing mailbox to that new account (Connect-Mailbox -Identity <Guid from before> -Database <Database name> -User <SAM account name of new account> -Alias
    <what you wish to set the alias to>).  In PowerShell, for all steps, you would do the following:
    $MbxAlias = <mailbox alias>
    $NewMbxAcct = <SAM Account Name for new account>
    $NewMbxAlias = <new alias for mailbox>
    $DomCtrl = (dir env:\LOGONSERVER).Value.Substring(2)
    $MbxGuid = (Get-MailboxStatistics $MbxAlias -DomainController $DomCtrl).MailboxGuid
    $MbxDb = (Get-Mailbox $MbxAlias -DomainController $DomCtrl).Database
    Disable-Mailbox $MbxAlias
    Clean-MailboxDatabase $MbxDb
    Connect-Mailbox -Identity $MbxGuid -Database $MbxDb -User $NewMbxAcct -Alias $NewMbxAlias -DomainController $DomCtrl
    You will need to supply the information in bold in the above commands, and you will need to create the new account before you run the above commands.  I include direct use of a specific domain controller so you won't need to worry about replication. 
    If you are changing the account from one domain to another, this will not help, and you will need to wait for replication throughout the process, running the commands individually.

  • Unable to edit MailBox folder & Rules of other users with PowerShell

    Hello,
    I'm trying to modify the rules of my users inbox folders and rules but I'm not able to do that even though I'm assigned the rights which were supposed to be enough. The account I'm running this command is a domain admin and pretty much has all the rights for
    the exchange server.
    Add-MailboxFolderPermission -Identity satan:\Inbox -User god -AccessRights Owner
    Add-MailboxPermission -Identity satan -User god -AccessRights FullAccess -InheritanceType All
    New-MailboxFolder -Parent Satan:\Inbox -Name Test
    New-Inboxrule -name "Test" -mailbox satan -sentTo "Angels" -MoveToFolder Test  -force
    And this is what I get:
    The specified mailbox "Satan" doesn't exist.
        + CategoryInfo          : NotSpecified: (:) [New-MailboxFolder], ManagementObjectNotFoundException
        + FullyQualifiedErrorId : [Server=XMAIL,RequestId=f20bwe154-31f1-4f2e-ad67-5d20eaf609197,TimeStamp=2015-04-21 2:39:12
        PM] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] F132355E,Microsoft.Exchange.Management.StoreTasks.
      NewMailboxFolder

    mbaybarsk,
    New-MailboxFolder doesn’t have the capability of creating folders in users mailboxes.
    When administrator is logged in . It has the capability of creating a folder only in Administrator mailbox
    For more info see this link: 
    http://careexchange.in/quick-tip-new-mailboxfolder-exchange-2013/
    Cheers,
    Curt Winter
    Certified Microsoft Professional
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied. If you found my post helpful, please mark it as the answer.

  • User gets Mailbox almost full message but the Exchange malibox is not close to full

    We are running Exchange 2010 and Unity 7.0.  User always get that his exchange mailbox is almos full and it very close to empty.  I can NOT clear this message.  I have deleted the user from unity and it still is happening.

    Hi Rick,
    Please check the Storage limit policies against the mailbox.
    On the Cisco Unity server, select Start > Programs > Microsoft Exchange >
    System Manager.
    Expand the servers group.
    Expand your Unity server.
    Expand first storage group.
    Right-click on mailbox store and select Properties.
    Click the Limits tab and set a value for these fields:
    Issue warning at (KB)
    Prohibit send at (KB)
    Prohibit send and receive at (KB)
    Click OK to save the changes.
    You can disable this warning (not really recommended):
    Go to your Unity server desktop > open the "Unity Tools Depot" >
    expand the "Administration Tools" folder > double-click on the
    "Advanced Settings Tool" and set to 0 the following attributes:
    "Conversation - Full Mailbox Check Feature"
    "Conversation - Full Mailbox Check Prompt"
    Then reboot the Unity server.
    Yu can refer to this TAC Case Collection:
    https://supportforums.cisco.com/docs/DOC-4242
    Regards,
    Tere.
    If you find this post helpful, please rate!

  • Exchange 2010 - Outlook can only open 8 other users' calendars

    I have a company that I moved to Exchange 2010 from Exchange 2003 recently. The old Exchange 2003 server has been removed from the organization. They have 30 mailboxes on a single server. Everything has been running smoothly but I have just discovered an issue.
    In this office there is one person who coordinates meetings, decides who uses what conference room for a given meeting, etc. She has full access to all of the other users' mailboxes. With Exchange 2003 she could access all of the other users' calendars simultaneously and would view them in overlay mode in Outlook 2003 and/or Outlook 2007.
    With Exchange 2010 she can only view the first 8 calendars she clicks on. If she tries to open a 9th calendar Outlook responds with the error message "The set pf folders could not be opened."
    I don't believe it to be a rights issue as she can open any 8 calendars upon first running Outlook. To access any others she has to uncheck one or more of the calendars previously selected, exit Outlook, restart Outlook and select different users calendars.
    This is only happening with Exchange 2010 - I've tested it on my Exchange 2007 server and another client's Exchange 2003 server and one can open as many other users calendars as there are.
    Is this a known limitation of Exchange 2010 or a new bug? Any workarounds?

    I'm betting that you have met the Exchange 2010 throttling policy......
    Take a read through this post please, the section on throttling:
    http://blogs.technet.com/b/rmilne/archive/2013/03/26/kicking-it-old-school-outlook-2003-partying-with-exchange-2010.aspx
    Cheers,
    Rhoderick
    Microsoft Senior Exchange PFE
    Blog:
    http://blogs.technet.com/rmilne 
    Twitter:   LinkedIn:
      Facebook:
      XING:
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • Can You Open a User Mailbox with Your Exchange Account on the iPhone?

    I can add user mailboxes on the same domain to my Outlook on my Mac and/or Windows PC but I don't see an option on my iPhone when I add my Exchange Account to the Mail App.
    Is this possible?

    Select the Exchange account under Accounts.
    Select Edit at the top right for the account.
    Select New Mailbox at the bottom right to create a new server store mailbox fot the account.
    Enter the name for the new mailbox in the space provided.
    Select Save at the top right.
    Select Done when finished.

  • How to configure Mailbox Read-Only access for Mailbox's owner on Exchange Server 2010?

    I have to configure the Exchange Server 2010's mailbox to only grant Read-Only Access on the mailbox's owners.  So they can only allowed to read their messages and cannot modify or remove them.  Are there any references or methods to do?

    Hi,alexchy8
    We can make use of 2 PowerShell commands to achieve this goal.
    Add-MailboxPermission and Add-MailboxFolderPermission.
    Execute the Add-MailboxPermission command to delegate the read permission at mailbox level.
    Execute the Add-MailboxFolderPermission command to delegate the required permissions on specific folders inside the mailbox.
    You can read the following article as reference:
    http://www.exchangedictionary.com/articles/assign-read-only-mailbox-permission-on-exchange-2010-2013-powershell
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety,
    or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
    Best Regards.

Maybe you are looking for