Property Name
SMTPServerAddress
Property Type
String
Description
Sets the Domain Name System (DNS) or Internet Protocol (IP) address
of the e-mail server used for sending e-mails.
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 SMTPServerAddress property
EmailAlert.SMTPServerAddress = "192.168.0.1"
See Also
Event Logging