send_email
Send an email to one or more recipients.
Parameters
Name | Description | Type | Default |
---|---|---|---|
to (required) | Email address(es) of the recipient(s). Can be a single email address as a string or multiple addresses as a list of strings. | Union[str, List[str]] | None |
message (required) | Content of the email message. | str | None |
title | Subject line of the email. Defaults to "". | str | '' |
attachments | List of attachments to include. Each attachment can be a file path string or an open file-like object. Defaults to []. | List[Union[str, io.IOBase]] | [] |
is_html | Whether the message content is HTML. When True, the message will be sent as HTML; when False, the message will be sent as plain text. Defaults to False. | bool | False |