Getting tasks, calendar event from MS Exchange Server

Hello!
I have a problem. I need to connect to MS Exchange Server and read different kind of information. I was advised by my manager to look for libraries to do so. He said that there are probably some and if not then you should think how to do it without them. I looked for some and discovered that there are some kind of them but they are for money $$$.
I need to connect to Exchange Server to read tasks, calendar events and mail. I looked throw the forum and found some topics, but no results. I found a framework which is disributed for free under GNU licence www.omesc.com
Please, tell me, anybody, is there are any open source free libraried to do that. And if not that can you give me some ideas about how can I connect to Exchange Server and get some information from it.
I am desperate, I don't know what to do, please anybody help me...

Hi,
You can use directly a jndi ldap context if the Ldap connector of your Exchange server is up...
It worked perfectly for me as anonymous...
One other way, if you have an active directory, you can connect to it as Ldap with ldap authentication ( mandatory for directory browsing... )
I hope it helps
Newbeewan

Similar Messages

  • Exchange calendar events from another Exchange user appears on my iPhone 3G

    We have two iPhones 3G (2.0.2) in our company, they are synced with Exchange server 2003 SP2, all works fine until I connected the second iPhone. Now I have on my iPhones my calendar events and also calendar events of my colleague together!
    How can I fix this??

    I am having this exact same problem on the Palm Pre Plus from Verizon.  Every appointment request that comes in always says "Conflicts with another appointment", when there is nothing else on *any* of the calendars it sync's with.
    Did you ever get/find a resolution to this?
    Also - Palm, it would be nice if you could launch the calendar and open that exact date by clicking on that "Conflict" error, instead of having to bring up the launcher and panning to the date.  Just an idea, I'll submit in your feedback section soon....

  • Migrate Calendar/Contacts from one Exchange server to a new server?

    I have an iPhone synced to my calendar and contacts on one Exchange server (old.edu). I am in the process of migrating to a different Exchange server (new.edu). Does anyone know if I can use the iPhone to be the conduit from server old.edu to server new.edu? e.g., can I sync iPhone with old.edu data on it to a computer that has a new Exchange server configured on its Outlook program and have the old.edu data copied onto the new.edu server?

    No, you cannot. Exchange contacts data is synced 'over the air' only, and thus managed separately from iTunes (USB cable) syncing.
    If you have Outlook connected to the old exchange server, you can export your contacts then import them after you link to the new server. But the iPhone is not going to help you in this situation.

  • Getting calendar events from exchange 2003

    Hi All,
    We have a requirement of getting the calendar items from exchange server 2003 using web dav , jakarta slide
    initially we made a connection and retrieve the mail items from server
    we use search method of org.webdav.lib.httpclient.method.search method to search and retrieve the responses
    can any one say how to build an XML request for retrieving calendar events from exchange and how to parse the search method response from and retrieving it.
    it would be more helpful if any one throw some light on this
    thanks in advance,
    Sasikumar

    myscreen-sasi wrote:
    We have a requirement of getting the calendar items from exchange server 2003 using web dav , jakarta slide This forum is for Sun Calendar Server and has nothing to do with Microsoft Exchange or web-dav programming. I suggest asking on a different forum e.g. java programming:
    http://forums.sun.com/forum.jspa?forumID=31
    Regards,
    Shane.

  • How can i import my calendar events from google calendar to ical?

    how can i import my calendar events from google calendar to ical?

    To set up CalDAV support for Google Calendar in Apple's iCal, follow these steps:
    Open Apple iCal, go to Preferences and then the Accounts tab.
    Click on the + button to add an account.
    In the box that pops up, enter a description for the account and your Google Account username and password.
    Under Server Options, add the following URL:
    https://www.google.com/calendar/dav/[email protected]/user//www.google.com/calendar/dav/[email protected]/user
    Replace '[email protected]' with the email address that you use to log in to Calendar. Make sure to include the '@domain.com' portion (which is @gmail.com for Gmail users) in this section.
    DO NOT substitute your username for 'user' at the end of the URL.
    Leave the Use Kerberos v5 for authentication option unchecked.
    Click Add.
    Under the Delegation tab, select the calendars you'd like to add to iCal by checking the boxes next to them. You may need to hit refresh to get the latest list of calendars.
    Add your email address to your Address Book card by selecting Add Email. You'll be prompted to add your email address only if your address is not already in your Address Book.
    You won't be able to invite or email guests to Google Calendar events within iCal if your address is not in your Address Book.
    Your Google Calendar will now appear in iCal's list of calendars, and changes you make to your Google Calendar in iCal will be reflected when you sign in to Google Calendar.
    Event information will automatically refresh every five minutes. You can change this interval by opening the iCal > Preferences > Accounts menu and selecting a new refresh interval under the 'Refresh calendars' drop-down. Keep in mind you can also force a refresh by selecting a calendar and pressing the Apple and R keys at the same time.
    Calendars that are checked but disabled have already been added to iCal - you can remove them from within iCal.

  • Read/write calendar information from outlook/yahoo server

    Hi,
    my requirement is read calendar information from outlook/yahoo server.
    pls tellme any opensource (java) available for this.pls any sites theoratically/practically explained on this.
    pls help me on this.
    regards
    karthik

    I posted this question a while ago and didn't receive any responses but there are a lot of people who have viewed it and 10 have said they have the same question so I thought I would update you that I added my nanny to my exchange server account (created an email for her) and I send all invites to that email address and they work.  So sending invites from an exchange server account to a non-exchange server account apparently is a bug so to solve it, get on an exchange server I guess.

  • Retrive calendar information from outlook/yahoo server

    Hi,
    How to retrive calendar information from outlook/yahoo server.
    pls tell me any opensource available for this.
    regards
    karthik

    I posted this question a while ago and didn't receive any responses but there are a lot of people who have viewed it and 10 have said they have the same question so I thought I would update you that I added my nanny to my exchange server account (created an email for her) and I send all invites to that email address and they work.  So sending invites from an exchange server account to a non-exchange server account apparently is a bug so to solve it, get on an exchange server I guess.

  • How can I back up Contacts synced from an Exchange server into iCloud?

    Hi everybody. I would like to back up into iCloud my Contact (and Calendars too) which I have  previously synced to the device ( that is an iPad air running iOS 8.2.1) from an Exchange server. The green flags in Settings / ICloud are duly switched on but no contact will appear under Groups/all iCloud. Is this feature feasible at all or is there something missing in the procedure I follow ? I'll appreciate any clues. Piero

    Hi Brendan. Thanks for your clue but unfortunately that did not solve the problem. Prior to posting my query I had already checked out the article you're referring me to (whose URL is http://support.apple.com/kb/PH3605). It may well be that I'm not being crystal clear owing to my far from perfect English but the whole point is precisely that I'm not able to import contacts  which ALREADY appear on my iPad - being the outcome of syncing my remote MS Exchange account with the device - into iCloud. The procedure described in the quoted article simply doesn't work (for that matter, no such Setting sign pops up under ICloud contacts). In fact, it appears that the only contacts which I'm able to keep under iCloud are those which I directly create from scratch within iCloud Group itself. Since I'm likely to have my MS outlook account  ( which is mirrored into a MS Exchange one for remote usage) forcibly deleted in one month time or so, I started  worrying about how to keep my contacts alive/ intact after that deletion. Hope the issue got clearer now ... Cheers, Piero.

  • I cannot get ics calendar invites from Outlook to display the correct time in iCal even though the correct time is in the description. This seems to be a common problem but I cannot find an answer. Please help.

     

    I posted this question a while ago and didn't receive any responses but there are a lot of people who have viewed it and 10 have said they have the same question so I thought I would update you that I added my nanny to my exchange server account (created an email for her) and I send all invites to that email address and they work.  So sending invites from an exchange server account to a non-exchange server account apparently is a bug so to solve it, get on an exchange server I guess.

  • Create Calendar event from Mail on iPad Mini in landscape

    I have an iPad Mini.  While in landscape and creating a new calendar event from the body of an email (by selecting the date in the body) I'm unable to get the entire (it is truncated) screen allowing me to set the date and time of the event.  It doesn't show the Done button in the upper right.
    This works fine on my other devices (iPad and iPhone) in landscape, and also works fine on the iPad Mini in portrait, but it does not work in landscape.
    Does anyone else have this problem?

    This still works for me in iOS 6.1.3
    Have you tried restarting or resetting your iPad?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after the iPad shuts down, then press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds). Ignore the "Slide to power off"

  • Reterieve/download email attachments from MS Exchange Server

    Hi,
    Is there a way to check for new emails and download any attachements from MS Exchange Server. I want to check for any new emails from some specific contact, then check if there are any attachments, if any attachments i.e. .txt,.doc,.zip etc. I then want to download and save them on a filesystem. Can someone please help me out how to proceed and small example will help. Thanks

    Hi,
    I tried connecting to he server but keeps getting the following error.
    javax.mail.AuthenticationFailedException: There is no such mailbox on this server
         at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:104)
         at javax.mail.Service.connect(Service.java:256)
         at javax.mail.Service.connect(Service.java:135)
         at javax.mail.Service.connect(Service.java:87)
         at mypackage.Fetch.main(Fetch.java:26)Here is the sample I am using:
    package mypackage17;
    import java.io.*;
    import java.util.Properties;
    import javax.mail.*;
    import javax.mail.Flags.*;
    import javax.mail.internet.*;
    public class Fetch {
      public static void main (String args[])
          throws Exception {
        String host = "mail.some.com";
        // Get system properties
        Properties props = System.getProperties();
        props.put("mail.pop3.host", host);
        // Setup authentication, get session
        Authenticator auth = new PopupAuthenticator();
        Session session = Session.getDefaultInstance(props, auth);
        // Get the store
        Store store = session.getStore("pop3");
        store.connect();
        // Get folder
        Folder folder = store.getFolder("INBOX");
        folder.open(Folder.READ_WRITE);
        // Get directory
        Message message[] = folder.getMessages();
        for (int i=0, n=message.length; i<n; i++)
           System.out.println(i + ": " + message.getFrom()[0] + "\t" + message[i].getSubject());
    try
    Object o = message[i].getContent();
    /*On Mail system when you recive a mail with attachment the format of the message is a multipart/mixed*/
    if (message[i].isMimeType("multipart/mixed"))
    Multipart mp = (Multipart) o;
    int cnt = mp.getCount();
    for (int j = 0; j < cnt; j++)
    Part part = mp.getBodyPart(j);
    System.out.println("********** " + part.getFileName());
    String disposition = part.getDisposition();
    if ((disposition != null) && ((disposition.equals(Part.ATTACHMENT) || disposition.equals(Part.INLINE))))
    InputStream is = null;
    File tempFile = new File("C:\\Samples\\" + part.getFileName());
    FileOutputStream fos = null;
    try
    fos = new FileOutputStream(tempFile);
    is = part.getInputStream();
    int byteCount = 0;
    byte[] bytes = new byte[128];
    while ((byteCount = is.read(bytes, 0, bytes.length)) > -1)
    { //use full read() method for GZIPInputStream to be treated correctly
    fos.write(bytes, 0, byteCount);
    finally
    try
    if (fos != null) fos.close();
    catch (IOException ioe) {}
    try
    if (is != null) is.close();
    catch (IOException ioe) {}
    message[i].setFlag(Flags.Flag.DELETED,true);
    System.out.println("Deleting Message");
    catch (MessagingException mex)
    //Work with the exception
    catch (java.io.IOException ioe)
    //Work with the exception
    folder.close(true);
    store.close();
    System.exit(0);
    package mypackage;
    import javax.mail.*;
    import javax.swing.*;
    import java.util.*;
    public class PopupAuthenticator
        extends Authenticator {
      public PasswordAuthentication
          getPasswordAuthentication() {
        String username, password;
        String result = JOptionPane.showInputDialog(
          "Enter 'username,password'");
        StringTokenizer st =
          new StringTokenizer(result, ",");
        username = st.nextToken();
        password = st.nextToken();
        return new PasswordAuthentication(
          username, password);
    }Can someone help what is wrong that I am unable to connect. Thanks

  • How do I export public folder data from inactive exchange server?

    I have migrated from SBS2003 (old) to SBS2008 (new)
    Used migration wizard / answer etc...  All went well, expect for the public folders; which failed.
    Question: How do I retrieve the public folder information from the OLD (inactive) server and import it to the NEW server?
    The OLD server has been removed from the domain. I have backups of the OLD server and its original hard drive; where the public store info is located.
    I tried PDDAVAdmin.exe; did not work for me.
    All help is greatly appreciated.
    Bill

    Hi Amit,
    I did as Zoltán said; searched the Internet for edb recovery tools and found a number of companies and Software Products which might help. I also considered your option as well but I have limited experience with building a recovery server and it sounds time consuming.
    Our office is small we have 10 users; we keep contact lists in the public folders. I want to restore the contact lists from the inactive source server to the active destination.
    I believe the process is called "rehoming" (from the web -- "In a Windows environment, rehoming is the process of moving public folders from one Exchange server to another. It involves the creation of a replica of the public folders on the target destination server, waiting for replication to complete, and then removing the public folders from the original source server.")
    Background:
    We have two servers FHHSERVER (the source, SBS2003) and FHHSERVER2 (the destination, SBS2008).
    I used the SBS2008 migration wizard. The important stuff in the exchange database transferred ok; all emails, schedules, tasks, notes, etc. Everything appeared to work; including public folders.
    Microsoft allows a 21 day grace period to complete the migration. I believed the migration was successful so on the 21st day, I followed Microsoft’s instructions and demoted the source server, removing it from the domain. 
    That’s when the trouble started….
    Unknown to me; the public folders remained on the old source server. I did not detect this problem since, during the 21 day migration grace period, the destination server was using the old source server to replicate public folders. As long as the old source server was active, eveyone could open public folder contact lists. After the source server was demoted, the destination server lost its replicate and now our users cannot access that information.
    Another problem is that the inactive server is n o longer licensed and the Exchange console cannot connect to its stores.
    It would seem to me that this problem should be relatively simple to fix. I need some way to open the public folder stores and export the contact lists. I’m not even sure where the public folder database is located on the hard drive.
    I hope this explains the situation in greater detail and that you may be able to offer some insight on how I might resolve this issue.
    Oh, I also tried using EXMerge but cannot seem to make it work either. <http://www.microsoft.com/downloads/details.aspx?familyid=429163EC-DCDF-47DC-96DA-1C12D67327D5&displaylang=en>
    Thanks!
    Bill

  • Readinjg mail from Microsoft Exchange Server

    Hi,
    I neeed java code to read emails from Microsoft Exchange Server.Can somone please share the code.
    Thanks in Advance
    Rama

    Thank you very much for the reply.
    I tried to write the code .At one place I am getting the below error.
    DEBUG POP3: server doesn't support TOP, disabling it
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/activation/DataSource
         at com.sun.mail.pop3.POP3Folder.createMessage(POP3Folder.java:333)
         at com.sun.mail.pop3.POP3Folder.getMessage(POP3Folder.java:314)
         at javax.mail.Folder.getUnreadMessageCount(Folder.java:761)
         at InboxReaderIMAPLast10.main(InboxReaderIMAPLast10.java:41)
    Pls help me in fiding the reason
    Rama

  • How can I get my ical events from my iMac to my iPhone? Anything I entered into ical on my iPhone will transfer to ical on iMac when plugged in, but not vice versa.

    How can I get my ical events from my iMac to my iPhone? Anything I entered into ical on my iPhone will transfer to ical on iMac when plugged in, but not vice versa. I think I have changed my iPhone (after looking at similar questions) to iCloud, but it's still not syncing.

    You need to sign into your iCloud account on your Mac, and check the Calendar option. System Preferences>iCloud, sign on your iCloud account, check the apps you want to sync with your device.
    Cheers,
    GB

  • Hi fellas could anybody know how to get back calendar out from trash to original dock below the screen

    Im having problem getting my calendar out from trash(not deleted) to where this belong to dock below the screen accidently click when im using apps cleaner,i try to swipe my application from trash bin to dock station but keep bounce back to bin,i check on help site said simply open trash bin select the application you want to save,go to top screen see finder then go to file and click say PUT BACK but main issue is that words are grey out ,im on mountain lion version 10.8.4 at the moment for now i can only  use calender by swipe from trash bin to desktop its only i can open than click main dock of calender will say unable to open because it in the trash so can anybody know how to get this out in any way,i dont like to have two icons of calendar on desktop and dock station....i be happy can somebody give advice.......regards

    and prior to that ihave  uploaded my all the photos and videos to icloud from iphoto
    Which part of iCloud are you referring to? iCloud Drive? iCloud Photo Library Beta? My Photo Stream? Shared Photo Stream?

Maybe you are looking for