property Message.Cc as String

Retrieves or sets a value that indicates the carbon copy recipient's email address's separated by commas

 TypeDescription 
   String A String expression that indicates the carbon copy recipient's email address's separated by commas  

Use Cc property to set Cc (Carbon Copy ) field for your email message. By default, the Cc property is empty. If the Cc property is empty, no Cc field is added to message's header. 

The following sample shows how to add Cc and Bcc fields to your message:

Dim m As Message
Set m = Runtime1.NewMessage
m.Cc = "norton@macrosoft.com,steve@segal.com"
m.Bcc = """Bill Gates"" <bil@macrosoft.com>,bala@segal.com"
If (0 = m.Send("myaccount@usermail.com", "sss@colam.com", "Test", "This is a test message")) Then
    MsgBox "The message was successfully delivered "
End If

Send comments on this topic.
© 1999-2007 Exontrol Inc, Software. All rights reserved.