Mailer
The mailer service sends notification emails, as part of workflows that require interaction with external parties.
send_mail(subject, body, *, destination=None)
Send an email message to the given addresses.
Only supports STARTTLS, not SSL.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
subject
|
str
|
The email subject. |
required |
body
|
str
|
The contents of the email message. |
required |
destination
|
str | None
|
The destination of the email, optional. |
None
|