ResendToolkit
send_email
- to (List[str]): List of recipient email addresses.
- subject (str): The email subject line.
- from_email (str): The sender email address. Must be from a verified domain.
- html (Optional[str]): The HTML content of the email. Either html or text must be provided. (default: :obj:
None
) - text (Optional[str]): The plain text content of the email. Either html or text must be provided. (default: :obj:
None
) - cc (Optional[List[str]]): List of CC recipient email addresses. (default: :obj:
None
) - bcc (Optional[List[str]]): List of BCC recipient email addresses. (default: :obj:
None
) - reply_to (Optional[str]): The reply-to email address. (default: :obj:
None
) - tags (Optional[List[Dict[str, str]]]): List of tags to attach to the email. Each tag should be a dict with ‘name’ and ‘value’ keys. (default: :obj:
None
) - headers (Optional[Dict[str, str]]): Custom headers to include in the email.(default: :obj:
None
)