sendgrid-python
sendgrid-python copied to clipboard
The Official Twilio SendGrid Python API Library
### Issue Summary [The docs](https://github.com/sendgrid/sendgrid-python/blob/main/sendgrid/helpers/mail/mail.py#L463) mentions that the `Mail.add_header` should accept a dict of key-value pairs. However, when passing a dict, the function fails. ### Steps to Reproduce 1. Initialize...
I'm creating a new issue as the other one was closed but the issue reported on: https://github.com/sendgrid/sendgrid-python/issues/757 still happens using sendgrid=6.6.0 and Python 3.7. > #### Issue Summary > HTTP...
### Issue Summary I'm trying to add an unsubscribe header and the docs are not very clear, then tech support told me to ask here ... Here is my code...
#### Issue Summary I'm trying to search for a whitelabel domain with a unicode character in it. This results in a 500 internal server error. #### Steps to Reproduce 1....
### Issue Summary I am trying to determine why using `add_personalization` removes the existing `dynamic_template_data` I already set on my mail object. If this is desired behavior, I would have...
#### Issue Summary Python specific issue identical to sendgrid/sendgrid-csharp#339 sendgrid-python should properly support multiple email addresses for the 'Reply-To' field. This is an existing issue in the other sendgrid packages...
#### 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 =...
Hi, is there a minimal example of using the Single Sends function through Python3? I'm having some trouble with authentication issues to do with verified Sender IDs and suppression groups,...
Most examples are like: ``` response = sg.client.access_settings.activity.get(query_params=params) print(response.status_code) print(response.body) print(response.headers) ``` I don't think this is the way to go.. instead, could the examples show how the user is...
SubscriptionTracking objects with a text, html, or substitution_tag attribute cannot be serialized
### Issue Summary The SubscriptionTracking object attempts to serialize its components with a `get` call (https://github.com/sendgrid/sendgrid-python/blob/main/sendgrid/helpers/mail/subscription_tracking.py#L134), but as per those attribute definitions (https://github.com/sendgrid/sendgrid-python/blob/main/sendgrid/helpers/mail/subscription_tracking.py#L57, et. al.), the `text`, `html`, and `substitution_tag`...