devctrl.utility.email.send_email#
- send_email(task: SendEmailTask, sender: SmtpSettings, timeout_s: float = 5.0)[source]#
Send an email using the provided task and sender configuration.
The email is formatted using python’s
emaillibrary and sent using thesmtpliblibrary.- Parameters:
task –
SendEmailTaskcontaining subject, message, and recipients.sender –
EmailSenderwith SMTP configuration and sender email.