Webinar

November 3rd, 2021 12:00 PM EDT
Automation for Field Services & DistributionNovember 3rd, 2021 12:00 PM EDT
Learn how creating a digital workforce can improve your supply chain processes!

Close Document

Close the active document (if open).

Arguments

Argument Type Default value Description
save_changesboolFalse

Open Application

Open the Outlook application.

Arguments

Argument Type Default value Description
visibleboolFalse
display_alertsboolFalse
param visible:show window after opening
param display_alerts:
 show alert popups

Quit Application

Quit the application.

Arguments

Argument Type Default value Description
save_changesboolFalse

Send Message

Send message with Outlook

Arguments

Argument Type Default value Description
recipientsAnynull
subjectstrnull
bodystrnull
html_bodyboolFalse
attachmentsAny, NoneNone
param recipients:
 list of addresses
param subject:email subject
param body:email body
param html_body:
 True if body contains HTML, defaults to False
param attachments:
 list of filepaths to include in the email, defaults to []
return:True if there were no errors

Wait For Message

Wait for email matching `criterion` to arrive into mailbox.

Arguments

Argument Type Default value Description
criterionstr, NoneNone
timeoutfloat5.0
intervalfloat1.0

Wait for email matching criterion to arrive into mailbox.

param criterion:
 message filter to wait for, defaults to ""
param timeout:total time in seconds to wait for email, defaults to 5.0
param interval:time in seconds for new check, defaults to 1.0
return:list of messages or False

Possible wait criterias are: SUBJECT, SENDER and BODY

Examples

*** Tasks ***
Wait for message     SUBJECT:rpa task calling    timeout=300    interval=10