Advanced utility components
Use the advanced utility components to add Simple Mail Transfer Protocol (SMTP) and
Windows High Level Language Application Program Interface (WinHLLAPI) functionality to your
automations. Use the SMTP component to add Simple Mail Transfer Protocol (SMTP) to your
automations. The following tables describe the properties and methods available for the SMTP
component: Use the WinHLLAPIUtils component to add Windows High-Level
Language Application Program Interface (WinHLLAPI) elements to your automation. The following tables describe the available properties, methods, and components for the
WinHLLAPIUtils component:SMTP component
Properties
Property Description Body The body text of the email. From The sender's email address. FromName The sender's name. IsBodyHTML Set to True if the body of the email
message is in HTML format. (Boolean) SmtpServerName The name of the server through which mail is routed. SmtpServerPort The port through which mail is routed. SmtpUserName The user name for the SMTP server. SmtpUserPassword The password for the SMTP server. Subject The subject of the email. This A reference to this component. To The email address to which you are sending the note. To send the
email note to more than one recipient, separate addresses using
commas. Methods
Method Description Parameters Result type AddAttachment Use this method to include an attachment with an email sent using
the Send method. String filename Void ResetState Resets all component properties to their initial values. None Void Send (1 parameter) Use this method to send an email via SMTP. Options for starting service Void Send (no parameters) Use this method to send an email via SMTP. None Void WinHLLAPIUtils component
Properties
Property Description DLLPath Provides the path of the WinHLLAPI DLL file. Interval The interval in milliseconds for querying active WinHLLAPI
sessions. This interval cannot be modified after
initialization. This Provides a reference to this object. Methods
Method Description Initialize Initializes the WinHLLAPIUtils component
and begins to periodically query active WinHLLAPI sessions. IsActive Checks if a session is currently active. QuerySessions Queries and returns an array of all active session IDs. ResetState Resets all component properties to their initial values. Events
Event Description SessionCreated Raises an event when a WinHLLAPI session is created. SessionDestroyed Raises an event when a WinHLLAPI session is destroyed.
Previous topic Utilities Next topic LogController methods