Login
Back to bricks list
Introduction Version

MailService

Functions

SEND_EXPERIMENT_FINISHED_MAIL - @classmethod
Parameters:
NameTypeDefault valueDescription
user_idstr
experimentSendExperimentFinishMailData
Return type:
bool
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 experiment)

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