Property Name
EmailFrom
Property Type
String
Description
Sets the name or e-mail address of the person who is sending the
e-mail alert.
Example
Dim EmailAlert As IEmailAlert
'Get the interface. 'DirectScript.EventLogger.1'is the ProgId of
'the Event Logger component.
Set EmailAlert = CreateObject ("DirectScript.EventLogger.1")
'Set EmailFrom property
EmailAlert.EmailFrom = Sender@CompanyName.com
See Also: