sendgrid-python icon indicating copy to clipboard operation
sendgrid-python copied to clipboard

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

Open chitalian opened this issue 4 years ago • 1 comments

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):

chitalian avatar Oct 14 '21 21:10 chitalian

This issue has been added to our internal backlog to be prioritized. Pull requests and +1s on the issue summary will help it move up the backlog.

JenniferMah avatar Oct 21 '21 23:10 JenniferMah