gws_core

Introduction
Getting Started
Developer guide
Release
Architecture
CLI
Technical documentations
Version

MailService

Functions
send_mail @classmethod

Send a email to 1 or multiple users

receivers_ids : List
mail_content : str
content of the mail (supports HTML)
subject : str
subject of the mail
Return type : bool
send_mail_to_current_user @classmethod

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

mail_content : str
content of the mail (supports HTML)
subject : str
subject of the mail
Return type : bool
send_scenario_finished_mail @classmethod
user_id : str
scenario : SendScenarioFinishMailData
Return type : bool