Transfer classes¶
EmailTransfer([subject, to, cc, bcc, ...]) |
Send mail. |
EmailTransfer¶
-
class
EmailTransfer(subject=None, to=None, cc=None, bcc=None, mail_from=None, body=None)[source]¶ Send mail.
This transfer will email a notification to a specified email address. If a file is found from an export, it will be attached to the message.
Arguments:
- str subject: The subject to use in the email, supports strftime
- str[] to: Recipient addresses
- str[] cc: Copy recipient addresses
- str[] bcc: Blind copy recipients
- str mail_from: (optional) Set the From: email address