i have no idea of how to access the contact list of the windows mobile programmatically to use the email addresses.
i want to show the the email of contact list only and when user selects one of them email value is retrieved in a string .
please help me.
regards,
Madhup
From the windows mobile SDK, you can reference in:
Microsoft.WindowsMobile.PocketOutlook
Then in your code, add in
using Microsoft.WindowsMobile.PocketOutlook;
Then you can use that to get contacts using ContactCollection
Related
How i can check Email address is inside or outside organization in outlook add-ins is there any build in function for that?
I tried to use domain check but what if the organization have multi emails?
You can try this API to know the recipient type. The recipient type would be of ExternalUser if the email id is not present on the exchange server.
https://learn.microsoft.com/en-us/javascript/api/outlook/office.mailboxenums.recipienttype?view=outlook-js-preview
I have added emails to my contacts but I do not understand how I can find contacts by email. If I use Contacts app on my iPad I can type an email in the search field and it will find the contact it belongs to. What search method should I implement to enable this in my app? Thank you for your help!
Using Exchange 2013 and Outlook 2013, I need to have two separated contacts with same email address. What I've seen is once I create a contact with an email address, for the second contact (even though I choose to create a new contact instead of update the existing one) Outlook merges two contacts details.
Now the question is, is this doable at all? Can I have two or more contacts sharing same email address but having isolated details?
In fact, I'm using ews managed API to do this programmatically, but that doesn't matter because same thing happens by using Outlook directly.
Update: Looks like Outlook 2013 by default links contacts with the same email address. And according to this post Office Community the only way to stop that is changing a registry key!
Now I wonder if it's possible to stop this from Exchange side.
You can turn off Duplicated detection in Outlook in the Option-Contacts, in EWS it shouldn't be doing any duplicate detection, if the contact is in the GAL then it will resolve it to the GAL address. Generally in this case your creating a OneOff Email address for a contact you can ensure that unique by using a different display-name when your create the contact. eg
Contact contact1 = new Contact(service);
contact1.GivenName = "Fred";
contact1.Surname = "Smith";
contact1.EmailAddresses[EmailAddressKey.EmailAddress1] = new EmailAddress("fred smith1", "fsmith#domain.com");
contact1.Save();
Cheers
Glen
How do you get the Windows Phone primary e-mail address (or a list of e-mail addresses) ?
In my application I need to ask for users email address for reports. But I want to prefill the email box so that users does not have to enter it. How can I read his primary email address.
I know this can be easily done in Android. Using AccountManager (API level 5+).
I googled it but could not find any relevant reference. Kindly help I am new to windows phone development.
get the Windows Phone primary e-mail address ...?
Not Possible, Due to privacy concerns it is not possible to retrieve the account ID
There are few links that are saying No.
From MSDN forum
From SO & another one
These Sources are bit older. But in latest update of Windows Phone it may possible.
I want to access the contact list to get the telephone number of a contact.
I am using the PhoneNumberChooserTask class to do that, and it returns me the number but not the name of the contact, which would be useful for many reasons.
Is there any way to retrieve both information?
Thank you,
Oscar
At the moment this is not possible. There is currently an outstanding feature request on the App Hub: http://forums.create.msdn.com/forums/t/68349.aspx