![]() |
|
#1
|
|||
|
|||
|
I've about worn through the keyboard doing searches but don't seem to
be getting things that give the whole picture. I will have a list of email addresses on my PC. How do I, using VB (or C#), create a distribution list of these email addresses that is to be used by our company's Outlook users? As I understand it, the DL needs to be on the Exchange server. The DL will be updated daily so if I have to delete it and then recreate it, that's okay. What validations on the data would I need to do? I have been frustrated with some of the examples that the search provided because they jumped into the low level stuff without any context. For example, one subroutine used "ByVal mventry as MVEntry" as one input parameter but didn't say anything about what an MVEntry was or where to obtain and set it up. I'm an experienced programmer but new to Exchange. If I can be given pointers to where I need to look, that would be great. A tutorial or book would also be great. Code also works for me. TIA, Scott
|
|
#2
|
|||
|
|||
|
On Oct 30, 2:03*pm, scottb2
> I've about worn through the keyboard doing searches but don't seem to > be getting things that give the whole picture. > > I will have a list of email addresses on my PC. *How do I, using VB > (or C#), create a distribution list of these email addresses that is > to be used by our company's Outlook users? *As I understand it, the DL > needs to be on the Exchange server. *The DL will be updated daily so > if I have to delete it and then recreate it, that's okay. *What > validations on the data would I need to do? *I have been frustrated > with some of the examples that the search provided because they jumped > into the low level stuff without any context. *For example, one > subroutine used "ByVal mventry as MVEntry" as one input parameter but > didn't say anything about what an MVEntry was or where to obtain and > set it up. > > I'm an experienced programmer but new to Exchange. *If I can be given > pointers to where I need to look, that would be great. *A tutorial or > book would also be great. *Code also works for me. > > TIA, > Scott Btw, I believe we're using Exchange Server 2003 and Outlook 2003. Let me know if I need to provide anything else. Scott |
|
#3
|
|||
|
|||
|
Distribution groups (not lists) are Active Directory entities. Using ADSI
you can create a new group, preferably a universal distribution group. Then you can add recipients' distinguished names to the member attribute. -- Ed Crowley MVP "There are seldom good technological solutions to behavioral problems." .. "scottb2" news:623b2c07-fd1a-4265-8155-b0995fe146eb@p9g2000vbl.googlegroups.com... > I've about worn through the keyboard doing searches but don't seem to > be getting things that give the whole picture. > > I will have a list of email addresses on my PC. How do I, using VB > (or C#), create a distribution list of these email addresses that is > to be used by our company's Outlook users? As I understand it, the DL > needs to be on the Exchange server. The DL will be updated daily so > if I have to delete it and then recreate it, that's okay. What > validations on the data would I need to do? I have been frustrated > with some of the examples that the search provided because they jumped > into the low level stuff without any context. For example, one > subroutine used "ByVal mventry as MVEntry" as one input parameter but > didn't say anything about what an MVEntry was or where to obtain and > set it up. > > I'm an experienced programmer but new to Exchange. If I can be given > pointers to where I need to look, that would be great. A tutorial or > book would also be great. Code also works for me. > > TIA, > Scott |
|
#4
|
|||
|
|||
|
I left out that after you create the group, you'll need to mail-enable it.
-- Ed Crowley MVP "There are seldom good technological solutions to behavioral problems." .. "Ed Crowley [MVP]" news:%23OkNC6mWKHA.3428@TK2MSFTNGP06.phx.gbl... > Distribution groups (not lists) are Active Directory entities. Using ADSI > you can create a new group, preferably a universal distribution group. > Then you can add recipients' distinguished names to the member attribute. > -- > Ed Crowley MVP > "There are seldom good technological solutions to behavioral problems." > . > > "scottb2" > news:623b2c07-fd1a-4265-8155-b0995fe146eb@p9g2000vbl.googlegroups.com... >> I've about worn through the keyboard doing searches but don't seem to >> be getting things that give the whole picture. >> >> I will have a list of email addresses on my PC. How do I, using VB >> (or C#), create a distribution list of these email addresses that is >> to be used by our company's Outlook users? As I understand it, the DL >> needs to be on the Exchange server. The DL will be updated daily so >> if I have to delete it and then recreate it, that's okay. What >> validations on the data would I need to do? I have been frustrated >> with some of the examples that the search provided because they jumped >> into the low level stuff without any context. For example, one >> subroutine used "ByVal mventry as MVEntry" as one input parameter but >> didn't say anything about what an MVEntry was or where to obtain and >> set it up. >> >> I'm an experienced programmer but new to Exchange. If I can be given >> pointers to where I need to look, that would be great. A tutorial or >> book would also be great. Code also works for me. >> >> TIA, >> Scott > |
|
#5
|
|||
|
|||
|
If you want to create a Contact Folder distribution list (personal DL) then
you need to either use MAPI via OOM,RDO or CDO 1.2 eg http://support.microsoft.com/kb/178787 or http://www.outlookcode.com/codedetail.aspx?id=1123 Cheers Glen "scottb2" news:623b2c07-fd1a-4265-8155-b0995fe146eb@p9g2000vbl.googlegroups.com... > I've about worn through the keyboard doing searches but don't seem to > be getting things that give the whole picture. > > I will have a list of email addresses on my PC. How do I, using VB > (or C#), create a distribution list of these email addresses that is > to be used by our company's Outlook users? As I understand it, the DL > needs to be on the Exchange server. The DL will be updated daily so > if I have to delete it and then recreate it, that's okay. What > validations on the data would I need to do? I have been frustrated > with some of the examples that the search provided because they jumped > into the low level stuff without any context. For example, one > subroutine used "ByVal mventry as MVEntry" as one input parameter but > didn't say anything about what an MVEntry was or where to obtain and > set it up. > > I'm an experienced programmer but new to Exchange. If I can be given > pointers to where I need to look, that would be great. A tutorial or > book would also be great. Code also works for me. > > TIA, > Scott |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to create BCC distribution list | Erol | Outlook General | 4 | 08-06-2009 10:34 AM |
| how do i create a global distribution list in Outlook? | Kiran | Contacts | 1 | 08-04-2009 05:50 PM |
| Re: Create contacts from distribution list members | =?Utf-8?B?c3dlZXRvbGl2ZQ==?= | Contacts | 1 | 05-22-2009 05:58 PM |
| Create a Distribution List using VBScript on a Web Page | =?Utf-8?B?RGF2aWQgSA==?= | Outlook General | 3 | 04-13-2009 11:29 PM |
| Create FAX Distribution List From a Custom Sort | ed@eselby.com | Outlook General | 1 | 03-12-2009 07:07 PM |