-
Fetch Outlook contacts using PHP imap
over 9 years ago
-
over 9 years ago
Hi, You can get help from the following link- https://msdn.microsoft.com/office/office365/APi/contacts-rest-operations
I think, this should be helpful for you.
-
-
over 9 years ago
Please consume outlook Contacts API to fetch contact list.
Here is the URL to create app to get access token
https://dev.outlook.com/RestGettingStarted/Tutorial/phpExample:
public static function getContacts($access_token) { $getContactsUrl = self::$outlookApiUrl."/Me/Contacts?" ."\$select=GivenName,Surname,EmailAddresses" ."&\$orderby=GivenName" ."&\$top=10"; return self::makeApiCall($access_token, "GET", $getContactsUrl); }
-
-
over 9 years ago
Hi There,
For this you will have to use outlook API and need to create App.
Please check below Link , They have shown step by step code that how you can import your outlook contacts in PHP
https://dev.outlook.com/RestGettingStarted/Tutorial/php
Please try the code and let me know if it works or not.
Thanks -
3 Answer(s)