Connecting to MS Exchange server

We are going to implement outlook functionality in our project. So that, we are trying to connect Microsoft Exchange server.
Sofar, I found the some information reg this thing from google.
Before connecting MS Exchange server, first I have to connect LDAP server using JNDI API.
Is any Java API provided for connecting to MS Exchange server from LDAP. If is there, How can I connect to MS Exchange server using J2EE application from LDAP?

No, not from JNDI.
You can manage Exchange Server via CDOEXM.
Details on CDOEXM can be found at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_esdk_reference_cdoex.asp
Not being a Java developer, I don't know how you invoke COM objects from Java.

Similar Messages

  • Mac computers in the office are not able to connect to our exchange server.

    We started facing this problem about a month ago in our office where the apple computers can not connect to the exchange server via outlook or applemail or anything for that matter. All the other computers can connect to the exchange server with no problems
    and the apple computers can even access the exchange server via OWA but the outlook and applemail apps would not connect to exchange. We have tried even deleting and re-creating some accounts on the apps but they still would not connect. At this point I am
    at a complete loss and I looked everywhere through google to find out if anyone else has faced this problem but to no avail.
    A little background information. This specific problem started happening after there was an un-expected series of power outages to the servers and they were shut down un-expectedly. I personally restored the servers and turned on all the services and made
    sure everything was up and running after the power outages and everything was working fine. Also the first instance of the problem with the mac computers only happened two days after the servers were back up and running again and they had no issues in those
    two days.
    Right now we do not have that many mac users in our offices (only 3-4 users) and I have instructed them to use the OWA in the meanwhile but it is however an inconvenience to them. By now you may have realized that I am not a very experienced server admin
    and I would really really appreciate any help. I extend my thanks in advance for any insight.

    Hi Martin,
    Thanks for the reply.
    Right now I have Apple mail and Outlook installed on my mac laptop and both the applications do not connect to the exchange server. Apple Mail simply does a long process when I give my credentials to create my account and then it gives an error saying it
    could not find the server while outlook quickly tells me that either the username or password is incorrect. At the same time I can connect to the server through outlook on my windows computer without any problems whatsoever.
    From your reply, I gather that the VIA headers only affect Apple mail and should not affect Outlook app on the mac but right now, neither apps are connecting to the exchange server.
    Either way I am trying to find out how to remove the VIA headers because it does not seem that we are using Kemp on the exchange server. Right now I do not have the in depth knowledge that I need because I was not involved in the implementation of our server
    system, that was taken care of by a service provider and I was put in charge of mostly simple admin work. Now we are out of contract with the service provider so  pretty much everything has fallen onto my shoulders.
    If possible, would you mind pointing me in the right direction to finding out if I am using a L7 load balancer and how I would go about removing the VIA headers?

  • Hi - for some reason, my IPAD3 mail client has decided it can no longer connect to my Exchange server.

    Hi - for some reason, my IPAD3 mail client has decided it can no longer connect to my Exchange server.  It's worked like a charm for weeks.  Any thoughts?
    For the record, I've got a POP mail account that is working fine on the machine and the WIFI is up and running (Safari is loading fine).
    Thanks

    Hi Jim,
    Your issue is the most FAQ in the forums, it is an ongoing problem with Tiger waiting to be fixed by Apple. Till then, forget your aliases and use either Command-K or from the Finder Go-->Connect to Server and enter the remote Mac's IP address to connect.
    Also, Open Utilities-->Terminal and type lookupd -flushcache (Press Return) and reboot. Do this for both macs.
    Macs running 9.x, Macs running 10.4.x, SGI workstations running Irix 6.5.x

  • Unable to connect to MS Exchange server on ipad4 after upgrade to iOS 7.1.2

    I received a new iPad 4 through work.  Upgraded to iOS 7.1.2, but now I'm not able to connect to the Exchange server.  Contacted IT through work, they have no idea how to correct it.  They say all of my settings are fine.  The error message says "Cannot Get Mail   The connection to the server failed."  Any thoughts?

    Hello harrisk927,
    It may help to remove and readd the account on your device.
    Tap Settings > Mail, Contacts, Calendars.
    Tap the affected email account.
    Tap Delete Account.
    Add your account again.
    iOS: Troubleshooting Mail
    http://support.apple.com/kb/TS3899
    Cheers,
    Allen

  • Need free OST viewer tool to help to view OST files without connecting to MS Exchange Server and MS Outlook.

    Need free OST viewer tool to help to view OST files without connecting to MS Exchange Server and MS Outlook.

    Hi Howard,
    As I know, Microsoft does not provide any kind of inbuilt tool or free software to only view OST file, even without the connectivity with exchange server (Offline).
    Try SysTools OST Viewer freeware which helps you to view all OST file save at your system in an easy way, whether you want to see the attachments or other items of OST file.
    Note: This is a free inbuilt utility, but try it on your own risk as I am not much aware about it and its working. But this tool sounds good according to your requirement and hopefully it would give you 100% satisfaction.
    Thanks
    Clark Kent

  • Unable to connect to the Exchange server using HTTP/HTTPS protocol.

    hi,
    i try to connect microsoft exchange server, but it give me
    error
    Unable to connect to the Exchange server using HTTP/HTTPS
    protocol.
    my code is pasted below............
    <!--- connection parameters --->
    <cfparam name="user1" default="uHRH">
    <cfparam name="user2" default="uHRH">
    <cfparam name="password" default="uHRH">
    <cfparam name="exchangeServerIP" default="192.168.0.1">
    <cftry>
    <!--- Open a connection to the exchange server by
    specifying the required user credentials --->
    <cfexchangeConnection
    action="open"
    username ="#user1#"
    password="#password#"
    server="#exchangeServerIP#"
    <!--- protocol = "http"--->
    connection="conn1">
    <cfoutput>Connection to exchange server
    "#exchangeServerIP#" established</cfoutput>
    <!--- Close connection to exchange server --->
    <CFExchangeConnection
    action="close"
    connection="conn1">
    <cfoutput>Connection to exchange server
    "#exchangeServerIP#" terminated</cfoutput>
    <!--- Error Information --->
    <cfcatch type="any">
    <cfoutput>#cfcatch.message#</cfoutput>
    </cfcatch>
    </cftry>
    if any one know how to solve this error?

    Hi,
    The "<cfexchangeConnection>" tag supports both "HTTP"
    and "HTTPS" connection.. So Please make sure the username has the
    "Outlook Web Access".
    Also try removing the <!--- protocol = "http"--->
    comment which you placed inside the "<cfexchangeConnection>"
    tag.

  • Can't connect to the exchange server

    I'm having trouble geting Mail to work with the exchange server here at work. any ideas?

    I tried Mick's suggestions but they don't help. One problem seems to be that my boxname on the exchange server unfortunately has a space in it ("firstname lastname", windows style). Upon initial setup the configurator won't allow this, but even if I set up a dummy username (without spaces) and then add the space into the account information afterward, I still see "could not connect to this exchange server" when I click on "Check Again" in the Mail Connection Doctor.
    The outgoing SMTP server is configured as servername.companyname.local, port 25, no SSL, and no authentication, and outgoing mail works fine... so it's not a routing or DNS lookup issue on the local side.
    The other annoying thing is that the instructions at
    http://docs.info.apple.com/article.html?path=Mail/2.0/en/ml1098.html
    say that the "Assist me..." button should bring up something called Network Diagnostics. But that button is always greyed out, and spotlight doesn't turn up any apps by that name anywhere on the system.
    Can anyone suggest a way of troubleshooting just where things are breaking down? I looked at the most obvious console logs and didn't see anything.
    Thanks in advance!
    /H

  • Mail refuses to connect to my Exchange Server

    I have an Exchange Server which also functions as an IMAP server. I cannot get mail to connect this server using the IMAP protocol. Thunderbird on the same machine connects to this exchange server just fine using IMAP. And Mail does not have problem connecting to other IMAP servers. Any idea on where I can look to troubleshoot?

    I'm in the same boat and have been banging my head against this all day. Have you found an answer yet?

  • Why do I get the message  "cannot get mail" when trying to connect to microsoft exchange server.

    Why do I get the message "cannot get mail" when trying to connect to ms exchange server?

    Hard to say. Has it ever worked? Maybe your account has mobile e-mail disabled. Maybe ActiveSync isn't set up properly on the server. maybe the correct ports are not open on the corporate firewall.
    You will have to talk to your IT department.

  • Help? New iPad2 exchange email was working. Now won't download email and existing emails disappearing - newest disappearing first.  Can connect to web. And my windows computer connects fine to exchange server.  What's going on?

    Help? New iPad2 exchange email was working. Now won't download email and existing emails disappearing - newest disappearing first.  Can connect to web. And my windows computer connects fine to exchange server.  What's going on?

    Actually all are affected, but i manage to solved it running Virtual test version to trace the issue and finally able to fix it. Thanks for asking.
    IT Technician

  • Email Apps that let you connect to MS Exchange Server?

    I finally convinced my boss to let me get a Mac Pro! I should be getting it next week sometime. Anyway, the 100 or so other people in the office all use windows & outlook (connecting to an Exchange server).
    What apps can I use to connect to Exchange? I need to be able to view shared calendars etc...
    Thanks in advance!
    Home: Mac Pro / Macbook Pro / iMac
    Office: Coming Soon a Mac Pro    

    What if i just need to access Public calendars?
    If needed I can always forward my exchange mail over to a POP3 acct. At which point I would only have to worry about the calendars
    Home: Mac Pro / Macbook Pro / iMac
    Office: Coming Soon a Mac Pro    

  • Trouble connecting to MS Exchange server with IMAP

    I've been trying to setup Apple mail to talk with the Exchange server at work.
    I've had no luck after many attempts.
    Mac Mini, Intel Core Duo
    OS X 10.4.5
    Mail 2.0.6
    I can connect to the mail server using Safari via Outlook Web Access fine, so my account information must be good...
    The sys admin at work, though not Mac savvy, said to use IMAP.
    A few other Mac users at work have gotten this to work from their homes with no hassles but non of their suggestions have helped.
    The account parameters are:
    General Information
    Account Type: IMAP
    Account Description: IMAP Account
    Fill Name: First-name Last-name
    Email Address: <user>@<domain>.com
    Incoming Mail Server
    Incoming Mail Server: mail.<domain>.com
    User Name: <windows-domainname>\user
    Password: <password>
    After this window I click Continue and wait ....
    Eventually Mail times out with the message:
    The IMAP server mail.<domain>.com is not responding ...
    Can someone help ...
    Some related questions:
    Do I need have the VPN to work established for Mail to work ?
    I've tried it both ways and they both fail.
    How do I get additional debug/log information out of mail ?
    What is the difference between an Exchange account and an IMAP account ?

    Try enabling a secure connection to the IMAP-server in account setup (which also should change the port to be used).
    Try using the servername found in the WebAccess URL (http://servername/exchange) instead of mail.<domain>.com if it is different.
    Try using user@windows-domainname instead of windows-domainname\user.
    If this all does not help, be sure to enable your AD-account for IMAP-access. This is a per account configuration. Just installing the IMAP-connector on the Exchange-server does not grant IMAP-access to everybody.

  • My gmail account connecting to the exchange server, does not sync correctly

    Hello,
    i've been with the sync. problem with my gmail account which is connecting my iPod touch 2nd-gen./iOS v4.2.1 to the google's exchange server, more specifically when i read some emails offline.
    Actually there is no sync problem when i read emails online, when the read emails are shown 'having been read' at the desktop browser as well.
    That is, the problem i have now is the 'having been read' emails offline do not sync correctly to the google's exchange server.
    Hopefully there is some help from this forum i can get.
    Thanks
    YH Kwon

    Right now the add-ons got synced but the customization I did to the looks of it did not.
    These customizations are: moving the home button right next to the back button and removing the search bar.
    Conclusion: it takes a while(about an hour!!!!!) to sync these stuff, at least that is what happened with me though my connection was normal and not slow at all.

  • Calendar Connectivity with Microsoft Exchange Server

    Hi Everybody,
    We want to use Calendar scheduling activity of Micrsoft Exchange Server in NW Portal Version 7 SP9. However we are stuck up with the following problem.
    The Scenario is like:
    1)The IIS Server and MS Exchange Server are in same domain.
    2)MSX-A component has been /copied installed on IIS Server 5.
    3)DLL registered.
    4)We are using MS Oultook 2003 and Exchange Server 2003.
    5)An IIS website has been created following the guidelines from a PDF document( Its wihtout SSO).
    6)Logon Locally permissions given to all users.
    When the CDO Version test is executed the common error "Microsoft Outlook not configured for Corporate/Work group access. Reconfigure MS Outlook and try again" is thrown.
    As per the information from sdn only MS Outlook 2000 needs to be configured for this.
    When the Data Retrieval test is executed an error message "CDO MAPI_E_NOT_INITIALIZED(80040605)" is shown.
    Please share your views on this situation.
    Suresh Yadav

    If I were you, I would create an OSS customer message for this.
    Maybe a quick fix though... Have you installed Outlook 2003 on the same server as IIS is running on?  Have you run outlook at least once and connected it to your Exchange server, setting it as the default mail client?
    Also, there is a note about what to do for exchange transports when you do a portal patch.  Applying those steps might be a good idea even if you have not done an upgrade.
    Good Luck.
    Regards,
    Graham.

  • How to connect to MS Exchange Server?

    Does anyone know how to connect to a local MS Exchange Server? I know the server name and the directory hierarchy path name for the server. How do I connect?

    What is the purpose of connecting? If you just want to send/receive mail I think your question is already answered. If you want to interact with the server, say to read/write tasks, calendar, etc., well that too can be done but it gets pretty hairy.
    If you have the money, a product call "Harmony for Exchange" by compoze is probably your quickest/easiet option (http://www.compoze.com/hcs_exchange.html). It provides a Java API into the Exchange Collaboration Data Objects -- all for a mere $8k per CPU.
    Another option is J-Integra's Exchange bridge (http://www.intrinsyc.com/products/bridging/jintegra.asp), it is actually the foundation of Compoze's product. The J-Integra bridge ($3k per server) exposes proxy classes into the raw CDO. No problem if you have lots of CDO programming experience, not much fun for a novice.
    I've heard that you can even use LDAP to interact with the server, but I don't have any experience with that. Anybody know of other options? I'm still struggling with these alternatives myself.

Maybe you are looking for