MailDefinition.CC Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a comma-separated list of email addresses to send a copy (CC) of the message to.
public:
property System::String ^ CC { System::String ^ get(); void set(System::String ^ value); };
public string CC { get; set; }
member this.CC : string with get, set
Public Property CC As String
Property Value
A comma-separated list of email addresses to send a copy (CC) of the message to. The default is Empty.
Examples
The following code example sets the CC property to the text entered in a TextBox control on a Web Forms page.
This code example is part of a larger example provided for the MailDefinition class.
md.CC = sourceCC.Text;
md.CC = sourceCC.Text
Remarks
The CC property contains a list of additional recipients of the email message.
If the CC property contains an improperly formed email address, the Send method throws an HttpException exception and the email message is not sent.
Applies to
See also
คำติชม
https://aka.ms/ContentUserFeedback
เร็วๆ นี้: ตลอดปี 2024 เราจะขจัดปัญหา GitHub เพื่อเป็นกลไกคำติชมสำหรับเนื้อหา และแทนที่ด้วยระบบคำติชมใหม่ สำหรับข้อมูลเพิ่มเติม ให้ดู:ส่งและดูข้อคิดเห็นสำหรับ