send([to=], [subject=None], [text=None], [html=None], [cc=], [bcc=], [from_address=None], [draft=False])
Send an email via GMail. ‘to’, ‘cc’ and ‘bcc’ may be strings (email addresses) or lists of strings (multiple addresses). At least one of ‘text’ and ‘html’ need to be provided (both strings). Passing draft=True will create a draft message rather than sending it.
Do you still have questions?
Our Community Forum is full of helpful information and Anvil experts.