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 (",").

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-2013, AfterLogic Corporation. All rights reserved.