Close Document

Close the active document (if open).

Arguments

Argument Type Default value Description
save_changes bool False

Open Application

Open the Outlook application.

Arguments

Argument Type Default value Description
visible bool Falseshow window after opening
display_alerts bool Falseshow alert popups
param visible:show window after opening
param display_alerts:
 show alert popups

Quit Application

Quit the application.

Arguments

Argument Type Default value Description
save_changes bool False

Send Message

Send message with Outlook

Arguments

Argument Type Default value Description
recipients typing.Anylist of addresses
subject stremail subject
body stremail body
html_body bool FalseTrue if body contains HTML, defaults to False
attachments typing.Any Nonelist of filepaths to include in the email, defaults to []
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
criterion str Nonemessage filter to wait for, defaults to ""
timeout float 5.0total time in seconds to wait for email, defaults to 5.0
interval float 1.0time in seconds for new check, defaults to 1.0
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