メール送信のための新しいAPIを含むSystem.Net.Mail名前空間

機械翻訳

.NET2.0はSystem.Net.Mailコード名前空間の中にはるかに豊かなメールAPIサポートを含んでいます。
私はそれでどう開始するかをいぶかる人々から、いくつかの質問を見ました。
複数のメール受取人(To a CCの特性が収集であるのに注意するので、複数のアドレス目標を扱うことができます)に“sender@foo.bar.com” からメールメッセージをどう送るかに関する簡単な例があります」:

.NET 2.0 includes much richer Email API support within the System.Net.Mail code namespace. I've seen a few questions from folks wondering about how to get started with it. Here is a simple snippet of how to send an email message from “sender@foo.bar.com” to multiple email recipients (note that the To a CC properties are collections and so can handle multiple address targets):