Linkedin has a feature that allows users to enter their outlook credentials and imports their outlook contacts.
I am trying to emulate this functionality, in a php application.
So far, the only way I have discovered on how this might be done is through Exchange web Services. https://emailhost/EWS/Services.wsdl I am using the php-ews library to try and connect to ews.
I was hoping for some sort of information on a defacto way to retrieve contacts given a users credentials, but have been unable to find much information on this at all.
Are there any other ways that this could be accomplished other than EWS? Does anyone know how linkedin is doing this?
Given that this feature works for a random end user, I don't think LinkedIn connects to Exchange (through EWS or any other API), but to the Outlook instance on the users' machine.
Accessing Outlook objects on a local machine can be done in any programming language through old-fashioned OLE automation. This will also let LinkedIn retrieve contacts for accounts connected to other servers, like e.g. Lotus Notes. (Although I cannot confirm that LI actually does that).
Related
I am attempting to develop a web interface using PHP which would allow any authorised user (specifically from the HR department) to update the Automatic Reply (Out of Office) of any active Exchange user/mailbox. I have successfully connected to the Exchange Web Services (Office 365) using php-ews (https://github.com/jamesiarmes/php-ews) and retrieved user mailbox configuration. However, I am unable to locate anything concerning Automatic Replies (Out of Office). Is there anyone who could provide examples or guidance on how this can be achieved?
You will need to use the GetUserOofSettings https://msdn.microsoft.com/en-us/library/office/aa563465(v=exchg.150).aspx and SetUserOofSettings https://msdn.microsoft.com/en-us/library/office/aa580294(v=exchg.150).aspx to do that in EWS. You will also need to use Impersonation to have the specific rights to do that make those changes https://msdn.microsoft.com/en-us/library/office/dn722377(v=exchg.150).aspx.
If your using Office365 your other option is you can use the Graph API to also do the same thing https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/user_get_mailboxsettings which gets around any security hassles that EWS Impersonation might cause.
I have a website that acts as a calendar manager amongst other things.
Now, some of the users need to sync some calendar events to an MDaemon server, while others need Exchange Online sync.
I already have developed an EWS and a CalDav connector, but non of these seem to work with MDaemon.
Do you know if there's some kind of library or protocol I can use for this?
Is ActiveSync an option?
Thank you
We want to use Office365 Rest API and Oauth2 to access Calendars for multiple Organizations.
Rest and Oauth2... No problem.
Same organization... No problem.
Different organization... Big trouble!!!!
We want our web application to have an office365 login similar to the Facebook connect experience for any office365 user in any organization (Multi-tenancy).
Has anyone successfully done this? Any language?
Is there something to configure in the app beyond selecting "Multiple Organizations"?
Note: we are developing our application in PHP5+.
Yes, the walkthrough here generates an ASP.NET C# app that reads calendar for multiple organizations. A user in any organization can login and display their calendar.
You didn't say what the trouble is. Are you getting a specific error?
I want to access MS Outlook application using PHP. I have a Outlook Contact Group Name. I need to get the owner of the Contact Group.
I looked for help on Google but i found some random stuff. Nothing useful.
Please help me with the basic how can i connect php to outlook?
You cannot access the Outlook Object Model or interact with a running instance of the Outlook UI from a web application. If you want access to Outlook data, then it depends on the account you want to access. The data for POP accounts are stored locally in .pst files, which you also cannot access from the web app. But if the Outlook data is in Exchange, use Exchange Web Services in your web app to access the data.
Wondering if someone could give me some advice, I am building a CRM for a client, and one of their "like to haves" is that if they create a new contact they would like the contacts details be both stored in the database but also sync with there iphone/ipad address book.
The only way I can think of doing this is if iCloud offers an api, is this something that could be achieved, or are there any other solutions that maybe could help me.
The CRM is being built on PHP if that makes a difference.
Use Google Contacts API https://developers.google.com/google-apps/contacts/v3/ and set up Gmail as Exchange server on iOS device.
The iPhone supports calDAV (calendaring) and cardDAV (address book) protocols for shared calendaring and address book features.
PHP client implmentation as part of roundcube: http://www.crash-override.net/carddav.html
Open source calDAV and cardDAV implementation: http://www.davical.org/