CCAddr Property


Value of "CC" header (carbon-copy recipients).

If composing the message, at least one of recipient specifiers (ToAddr, CCAddr, BCCAddr) must be set. Otherwise, SMTP server will reject the message. You can specify several email addresses, separating with commas (",").

Set AddressDelimiter if you want to use another string (not a comma character) to delimit individual addresses. This only makes sense for reading an existing message, not for composing a new one (when sending a message, recipients must be separated with comma).

To deal with e-mail addresses with international domain names (IDN), use EscapeIdnDomain method to encode an e-mail address to IDN form (when sending out e-mails) or UnescapeIdnDomain method to decode an e-mail address into human-readable form (when receiving e-mails).

If the message was received using MailBee.POP3 object, the property is value of "CC" header or empty string if this header is missing.


Value Type: String
Parameters: None 

Usage example:

Dim Mailer
'Using visual basic to create object
Set Mailer = CreateObject("MailBee.SMTP")
'Using ASP to create object
'Set Mailer = Server.CreateObject("MailBee.SMTP")
'In ASP use Response.Write instead of MsgBox
Mailer.LicenseKey = "put your license key here"
Mailer.ServerName = "mail.server.com"
If Mailer.Connect Then
  Mailer.Message.ToAddr = "bill@yoursite.com"
  Mailer.Message.CCAddr = "Jeff Jones<jeff@hissite.com> (ABC Company), margo.witch@herssite.com"
  Mailer.Message.FromAddr = "joe@mysite.com"
  Mailer.Message.Subject = "Hello"
  Mailer.Message.ImportBodyText "C:\docs\letter.htm", True
  Mailer.Send
  Mailer.Disconnect
End If

See Also:

PureCCAddr Property
CCFriendlyName Property
ToAddr Property
BCCAddr Property
FromAddr Property


Copyright © 2002-2022, AfterLogic Corporation. All rights reserved.