Skip to content

BCC return 400 bad request #753

Open
@gurmukhspider

Description

@gurmukhspider

Bcc return 400 bad request

when i added the email in bcc method it return 400 bad request error.

Here is my snippet:

sg = sendgrid.SendGridAPIClient(apikey=SENDGRID_API_KEY)
from_email = Email(self.from_address)
to_list = Personalization()
attachments = []
for email in emails:
self.email = email
to_list.add_to(Email(email))

this code working great but when i replace the last line of snippet "to_list.add_bcc(Email(email))"
then it return 400 bad request error

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