Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET Outlook
hi all,
 
how to get all Email ids from one particular outlook group to my application? i have to mail one particular outlook group Email ids from my application.
 
thanks,
krunal
Posted 24-Jul-12 1:31am
kk20141.8K

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Hi,
"outlook group ID" = distribution list?

You can query Active Directory, searching for "CN=DL_name"
SearchResult r = SearchObj.FindOne(); 
foreach (string user in r.GetDirectoryEntry().Properties["member"]) 
Response.Write(user);

In client tools you can also use Microsoft Outlook Object Library component.
http://msdn.microsoft.com/en-us/library/bb645998.aspx[^]
 
For more information follow the links below:
http://weblogs.asp.net/whaggard/archive/2007/01/30/how-do-i-access-my-outlook-contacts-from-my-web-application.aspx[^]
http://forums.asp.net/t/1041781.aspx/1[^]
http://social.msdn.microsoft.com/Forums/en/winformsdesigner/thread/8f154d74-cd7a-46ff-8730-7e29f2a3edd5[^]
 

 
--Amit
  Permalink  
Comments
kkakadiya at 24-Jul-12 6:42am
   
hi amit,
 
i have used this code from this link. can u help me out to overcome from this pro.?
 
http://msdn.microsoft.com/en-us/library/bb645998.aspx#Y570
 
can u look into this link function and help me.
 
thanks.
_Amy at 24-Jul-12 6:51am
   
You got a good link. This is working fine for me. What is the error you are getting?
Sandeep Mewara at 24-Jul-12 8:17am
   
Good answer. 5!
_Amy at 24-Jul-12 8:23am
   
Thank you Sandeep.
kkakadiya at 8-Aug-12 1:44am
   
hi ami,
can you psate ur code here?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 200
1 George Jonsson 175
2 Kornfeld Eliyahu Peter 169
3 PIEBALDconsult 110
4 Richard MacCutchan 85
0 OriginalGriff 6,080
1 DamithSL 4,648
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,624
4 Sergey Alexandrovich Kryukov 3,294


Advertise | Privacy | Mobile
Web03 | 2.8.141220.1 | Last Updated 24 Jul 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100