如何以编程方式创建分发列表?

编程入门 行业动态 更新时间:2024-10-09 17:31:07
本文介绍了如何以编程方式创建分发列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我已经通过键盘进行了搜索,但似乎并没有得到能够全面展现的东西。

我的PC上会有一个电子邮件地址列表。如何使用VB (或C#)创建这些电子邮件地址的分发列表,供我们公司的Outlook用户使用?据我了解,DL 需要在Exchange服务器上。 DL将每天更新,因此如果我必须删除它然后重新创建它,那没关系。我需要对数据进行哪些验证?我对搜索提供的一些例子感到沮丧,因为他们在没有任何背景的情况下跳入了低级别的东西。例如,一个子程序使用"ByVal mventry as MVEntry"。作为一个输入参数但是没有说明MVEntry是什么或者在哪里获得和设置它。

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.

我是一位经验丰富的程序员但是新的Exchange。如果我可以指示我需要看的地方,那就太好了。教程或书也很棒。代码也适用于我。

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

TIA, Scott

推荐答案

如果您的目标是Exchange 2007 SP1和/或Exchange 2010,最好的方法是使用 Exchange Web服务托管API 。使用ContactGroup类创建和修改通讯组列表。 如果您的目标是Exchange 2003或更早版本,则可以使用 WebDAV , CDOEx 或甚至 MAPI 。 If you are targeting Exchange 2007 SP1 and/or Exchange 2010, the best way to go is with the Exchange Web Services Managed API. Use the ContactGroup class to create and modify distribution lists.If you are targeting Exchange 2003 or earlier, you can use WebDAV, CDOEx or even MAPI.

更多推荐

如何以编程方式创建分发列表?

本文发布于:2023-11-05 02:58:23,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1559722.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:方式   列表

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!