Inherited from
Applies to Objects
This interface is exposed from the Event Logger object and is useful for sending e-mail alerts to the administrator or any specified person. This interface includes properties for setting various details of the e-mail to send and a method to send the e-mail.
Property/Method |
Description |
Sets the e-mail addresses of the persons to whom copies of the e-mail alert are to be sent |
|
Sets the name or the e-mail address of the sender |
|
Sets the e-mail address of the person to whom the e-mail alert is to be sent |
|
Sends the actual e-mail message through the e-mail server |
|
Sets the DNS or IP address of the e-mail server |
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")
See Also:
Event Logging