How do I send an email to an Exchange Distribution list using c#
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I need to send an email to an Exchange distribution list called "DL-IT" using c#. Does anyone know how to achieve this? 回答1: The simplest way would be to find the actual email address of the DL, and use that in your "To:" field. Exchange distribution lists actually have their own email addresses, so this should work fine. 回答2: Exchange server runs SMTP so one can use the SmtpClient to send an email. One can lookup the SMTP address of the distribution list (manually) and use that as the "to" address on the MailMessage constructor. The