Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Advanced utility components

Updated on October 19, 2022

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.

SMTP component

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:

Properties

PropertyDescription
BodyThe body text of the email.
FromThe sender's email address.
FromNameThe sender's name.
IsBodyHTMLSet to True if the body of the email message is in HTML format. (Boolean)
SmtpServerNameThe name of the server through which mail is routed.
SmtpServerPortThe port through which mail is routed.
SmtpUserNameThe user name for the SMTP server.
SmtpUserPasswordThe password for the SMTP server.
SubjectThe subject of the email.
ThisA reference to this component.
ToThe email address to which you are sending the note. To send the email note to more than one recipient, separate addresses using commas.

Methods

MethodDescriptionParametersResult type
AddAttachmentUse this method to include an attachment with an email sent using the Send method.String filename Void
ResetStateResets all component properties to their initial values.NoneVoid
Send (1 parameter)Use this method to send an email via SMTP. Options for starting serviceVoid
Send (no parameters)Use this method to send an email via SMTP. NoneVoid

WinHLLAPIUtils 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:

Properties

PropertyDescription
DLLPathProvides the path of the WinHLLAPI DLL file.
IntervalThe interval in milliseconds for querying active WinHLLAPI sessions. This interval cannot be modified after initialization.
ThisProvides a reference to this object.

Methods

MethodDescription
InitializeInitializes the WinHLLAPIUtils component and begins to periodically query active WinHLLAPI sessions.
IsActiveChecks if a session is currently active.
QuerySessionsQueries and returns an array of all active session IDs.
ResetStateResets all component properties to their initial values.

Events

EventDescription
SessionCreatedRaises an event when a WinHLLAPI session is created.
SessionDestroyedRaises an event when a WinHLLAPI session is destroyed.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us