Back to bricks list
Introduction Version

MailService

Functions

SEND_MAIL - @classmethod

Send a email to 1 or multiple users

Parameters:
NameTypeDefault valueDescription
receivers_idsList
mail_contentstr Content of the mail (supports html)
subjectstr Subject of the mail, defaults to none , optional
Return type:
bool
SEND_MAIL_TO_CURRENT_USER - @classmethod

Send a email to the current connected user (or user that is running the scenario)

Parameters:
NameTypeDefault valueDescription
mail_contentstr Content of the mail (supports html)
subjectstr Subject of the mail, defaults to none , optional
Return type:
bool
SEND_SCENARIO_FINISHED_MAIL - @classmethod
Parameters:
NameTypeDefault valueDescription
user_idstr
scenarioSendScenarioFinishMailData
Return type:
bool