René's URL Explorer Experiment


Title: How to add unsubscribe header? · Issue #1045 · sendgrid/sendgrid-python · GitHub

Open Graph Title: How to add unsubscribe header? · Issue #1045 · sendgrid/sendgrid-python

X Title: How to add unsubscribe header? · Issue #1045 · sendgrid/sendgrid-python

Description: 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 from Django 3.9, which is working fine: from sendgrid import SendGridAPIClient from sendgrid...

Open Graph Description: 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 from Django 3.9, which is working fine: from sendgri...

X Description: 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 from Django 3.9, which is working fine: from sen...

Mail addresses
sendgridtesting@gmail.com
from@example.net
sendgridtesting@gmail.com
from@example.net

Opengraph URL: https://github.com/sendgrid/sendgrid-python/issues/1045

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How to add unsubscribe header?","articleBody":"### Issue Summary\r\nI'm trying to add an unsubscribe header and the docs are not very clear, then tech support told me to ask here ...\r\n\r\nHere is my code from Django 3.9, which is working fine:\r\n\r\n```\r\n    from sendgrid import SendGridAPIClient\r\n    from sendgrid.helpers.mail import Mail, To\r\n\r\n    for lead_page in lead_paginator.page_range:\r\n        sents = sents + '----------------lead_page: ' + str(lead_page)\r\n        to_emails = []\r\n        for lead in lead_paginator.page(lead_page).object_list:\r\n            pixel_url = 'e=' + lead.lead_email + '&s=' + e_archive.subject_slug\r\n\r\n            one_to_email = To(email=lead.lead_email,\r\n                    name=lead.first_name,\r\n                    substitutions={\r\n                            '\u003c\u003c first_name >>': first,\r\n                            '\u003c\u003c pixel_url >>': pixel_url\r\n                    },\r\n                    subject=e_archive.subject)\r\n\r\n            to_emails.append(one_to_email)\r\n\r\n        message = Mail(\r\n                from_email=('xxxxx@xxxxx.com', 'xxxxx'),\r\n                to_emails=to_emails,\r\n                subject=e_archive.subject,\r\n                html_content=e_html,\r\n                is_multiple=True)\r\n\r\n```\r\nSo where do I add an unsubscribe header based off of the pixel_url, so its personalized; something like:\r\n\r\n```\r\n  \"headers\": {\r\n    \"List-Unsubscribe\": \"\u003chttps://xxxxx.com/download/?\u003c\u003c pixel_url >>&p=unsubscribe>\"\r\n  }\r\n```\r\n\r\n","author":{"url":"https://github.com/addsimm","@type":"Person","name":"addsimm"},"datePublished":"2022-02-17T23:45:55Z","url":"https://github.com/sendgrid/sendgrid-python/issues/1045"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:454300d8-a4d0-147c-0ce2-7b12c1141fcc
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCA76:D7A7C:80571F:A67704:6B062D0D
html-safe-nonced6e5839acd57a50bbbb309b3b67d95120cf28041e45eafc0a122a23b5cb4349f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTc2OkQ3QTdDOjgwNTcxRjpBNjc3MDQ6NkIwNjJEMEQiLCJ2aXNpdG9yX2lkIjoiNjIyNDA5MTc0NjE1NTI0NDgxMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacfd716303c16c78188238996b71935b54748b91064c724ac38ff754fe2ef87970
hovercard-subject-tagissue:1142080394
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/sendgrid/sendgrid-python/1045/issue_layout
twitter:imagehttps://opengraph.githubassets.com/afc0f0de04733f7c72d9f581f2199e30a90a86c8073317401b00f44f9e13567d/sendgrid/sendgrid-python/issues/1045
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/afc0f0de04733f7c72d9f581f2199e30a90a86c8073317401b00f44f9e13567d/sendgrid/sendgrid-python/issues/1045
og:image:altIssue 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 from Django 3.9, which is working fine: from sendgri...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameaddsimm
hostnamegithub.com
expected-hostnamegithub.com
None7f961de5dd5c5d4aca24d33f8b3ffb3fb8b2ef53d0a4f32f01f0a790e512f6d3
turbo-cache-controlno-preview
go-importgithub.com/sendgrid/sendgrid-python git https://github.com/sendgrid/sendgrid-python.git
octolytics-dimension-user_id181234
octolytics-dimension-user_loginsendgrid
octolytics-dimension-repository_id3546794
octolytics-dimension-repository_nwosendgrid/sendgrid-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3546794
octolytics-dimension-repository_network_root_nwosendgrid/sendgrid-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release494ea0bb1e0feef734a83e2628697647755e8864
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/sendgrid/sendgrid-python/issues/1045#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsendgrid%2Fsendgrid-python%2Fissues%2F1045
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsendgrid%2Fsendgrid-python%2Fissues%2F1045
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=sendgrid%2Fsendgrid-python
Reloadhttps://github.com/sendgrid/sendgrid-python/issues/1045
Reloadhttps://github.com/sendgrid/sendgrid-python/issues/1045
Reloadhttps://github.com/sendgrid/sendgrid-python/issues/1045
sendgridhttps://github.com/sendgrid
sendgrid-pythonhttps://github.com/sendgrid/sendgrid-python
Codehttps://github.com/sendgrid/sendgrid-python
Issues50 (50)https://github.com/sendgrid/sendgrid-python/issues
Pull requests18 (18)https://github.com/sendgrid/sendgrid-python/pulls
Actionshttps://github.com/sendgrid/sendgrid-python/actions
Security and qualityhttps://github.com/sendgrid/sendgrid-python/security
Insightshttps://github.com/sendgrid/sendgrid-python/insights
https://github.com/sendgrid/sendgrid-python
New issuehttps://github.com/login?return_to=https://github.com/sendgrid/sendgrid-python/issues/1045
New issuehttps://github.com/login?return_to=https://github.com/sendgrid/sendgrid-python/issues/1045
How to add unsubscribe header?https://github.com/sendgrid/sendgrid-python/issues/1045#top
status: waiting for feedbackhttps://github.com/sendgrid/sendgrid-python/issues?q=state%3Aopen%20label%3A%22status%3A%20waiting%20for%20feedback%22
type: getting startedhttps://github.com/sendgrid/sendgrid-python/issues?q=state%3Aopen%20label%3A%22type%3A%20getting%20started%22
https://github.com/addsimm
addsimmhttps://github.com/addsimm
on Feb 17, 2022https://github.com/sendgrid/sendgrid-python/issues/1045#issue-1142080394
https://github.com/childish-sambino
childish-sambinohttps://github.com/childish-sambino
on Mar 11, 2022https://github.com/sendgrid/sendgrid-python/issues/1045#issuecomment-1065569436
https://dgorski.medium.com/setup-unsubscribe-with-sendgrid-api-dynamic-templates-3b942d325d3dhttps://dgorski.medium.com/setup-unsubscribe-with-sendgrid-api-dynamic-templates-3b942d325d3d
childish-sambinohttps://github.com/childish-sambino
status: waiting for feedbackhttps://github.com/sendgrid/sendgrid-python/issues?q=state%3Aopen%20label%3A%22status%3A%20waiting%20for%20feedback%22
type: getting startedhttps://github.com/sendgrid/sendgrid-python/issues?q=state%3Aopen%20label%3A%22type%3A%20getting%20started%22
on Mar 11, 2022https://github.com/sendgrid/sendgrid-python/issues/1045#event-6227959427
https://github.com/rakatyal
rakatyalhttps://github.com/rakatyal
on Apr 12, 2022https://github.com/sendgrid/sendgrid-python/issues/1045#issuecomment-1096850755
rakatyalhttps://github.com/rakatyal
completedhttps://github.com/sendgrid/sendgrid-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Apr 12, 2022https://github.com/sendgrid/sendgrid-python/issues/1045#event-6420001580
https://github.com/addsimm
addsimmhttps://github.com/addsimm
on Apr 12, 2022https://github.com/sendgrid/sendgrid-python/issues/1045#issuecomment-1096883098
…https://github.com/sendgrid/sendgrid-python/issues/1045
#1045https://github.com/sendgrid/sendgrid-python/issues/1045
https://github.com/addsimm
addsimmhttps://github.com/addsimm
on Apr 12, 2022https://github.com/sendgrid/sendgrid-python/issues/1045#issuecomment-1096884123
…https://github.com/sendgrid/sendgrid-python/issues/1045
#1045https://github.com/sendgrid/sendgrid-python/issues/1045
rakatyalhttps://github.com/rakatyal
on Apr 12, 2022https://github.com/sendgrid/sendgrid-python/issues/1045#event-6420402486
https://github.com/rakatyal
rakatyalhttps://github.com/rakatyal
on Apr 12, 2022https://github.com/sendgrid/sendgrid-python/issues/1045#issuecomment-1096911718
https://github.com/addsimm
addsimmhttps://github.com/addsimm
on Apr 12, 2022https://github.com/sendgrid/sendgrid-python/issues/1045#issuecomment-1096918607
…https://github.com/sendgrid/sendgrid-python/issues/1045
https://github.com/addsimm
addsimmhttps://github.com/addsimm
on Apr 25, 2022https://github.com/sendgrid/sendgrid-python/issues/1045#issuecomment-1108744941
https://github.com/tparkertwilio
tparkertwiliohttps://github.com/tparkertwilio
on Apr 25, 2022https://github.com/sendgrid/sendgrid-python/issues/1045#issuecomment-1109001936
https://github.com/sendgrid/sendgrid-python/blob/main/examples/mail/mail.py#L95-L131https://github.com/sendgrid/sendgrid-python/blob/main/examples/mail/mail.py#L95-L131
Sign up for freehttps://github.com/signup?return_to=https://github.com/sendgrid/sendgrid-python/issues/1045
Sign in to commenthttps://github.com/login?return_to=https://github.com/sendgrid/sendgrid-python/issues/1045
status: waiting for feedbackhttps://github.com/sendgrid/sendgrid-python/issues?q=state%3Aopen%20label%3A%22status%3A%20waiting%20for%20feedback%22
type: getting startedhttps://github.com/sendgrid/sendgrid-python/issues?q=state%3Aopen%20label%3A%22type%3A%20getting%20started%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.