Property Name
EmailCc
Property Type
Variant
Description
Sets the e-mail addresses of the persons to whom copies of the
e-mail alert are to be sent.
Example
Dim EmailAlert As IemailAlert
Dim CcEmailAddrs(2) As String
'Get the interface. 'DirectScript.EventLogger.1'is the ProgId of
'the Event Logger component.
Set EmailAlert = CreateObject ("DirectScript.EventLogger.1")
CcEmailAddrs(0) = "jsmith@microsoft.com"
CcEmailAddrs(1) = "gjohn@microsoft.com"
'Set EmailCc property
EmailAlert.EmailCc = CcEmailAddrs
See Also