Skip to content

Feature Request - Add cc, bcc and reply-to to Mail class #1017

Description

@chitalian

Technical details:

Currently the Python Mail class only contains these

    def __init__(
            self,
            from_email=None,
            to_emails=None,
            subject=None,
            plain_text_content=None,
            html_content=None,
            amp_html_content=None,
            global_substitutions=None,
            is_multiple=False):

This feature would add support for BCC, CC and reply to address. This is supported by the API with personalizations

https://docs.sendgrid.com/for-developers/sending-email/personalizations

Desired API

    def __init__(
            self,
            from_email=None,
            reply_to_email=None, # NEW
            to_emails=None,
            cc_emails=None, # NEW
            bcc_emails=None, # NEW
            subject=None,
            plain_text_content=None,
            html_content=None,
            amp_html_content=None,
            global_substitutions=None,
            is_multiple=False):

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions