SmtpCc Property
Gets or sets EmailAddressCollection object specifying CC: recipients of the message.

Namespace: MailBee.SmtpMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
public EmailAddressCollection Cc { get; set; }

Property Value

Type: EmailAddressCollection
The EmailAddressCollection object representing CC: field (carbon recipients) of the message.
This property is equivalent to Cc property of Message object.
Setting CC: recipients using different methods.
// To use the code below, import these namespaces at the top of your code.
using System;
using MailBee;
using MailBee.SmtpMail;
using MailBee.Mime;

// The actual code (put it into a method of your class)

Smtp mailer = new Smtp();

mailer.Cc.AsString = "Bill Smith <>,, \"John Long, Jr.\" <>";
mailer.Cc.Add("John Doe, Sales Manager", "");
mailer.Cc.Add(new EmailAddress(""));


// The output.
"Bill Smith" <>,, "John Long, Jr." <>,, "John Doe, Sales Manager" <>,
See Also