问题
Unfortunately, nobody is responding to my support ticket so I think it's a problem needs someone with experience with sendgrid
the reproduction is simple:
did the Domain Authentication and Link Branding
Added all the necessary record to my DNS configs
All verified in SendGrid dashboard.
Tried sending an email and click on the link it gives me this
回答1:
Give API Key its full access, follow steps:
- Settings
- API Keys
- Edit API Key
- Full Access
- Update
Whitelist your domain, follow steps:
- Settings
- Sender Authentication
- Domain Authentication
- Select DNS Host
- Enter your domain name
- Copy all records and put them in your Advanced DNS management console
Add a branded link, follow steps:
- Settings
- Sender Authentication
- Link Branding
- Follow the steps on the screen
- Copy all records and put them in your Advanced DNS management console
NOTE: When adding records, make sure not to have domain name in the host. Crop it out.
Now, I attach any http or https url in html_content
like
html_content="<a href='https://www.python.org/'>Python</a>")
When I receive email, and click on the link, it loads perfectly.
This is the link generated - Python
来源:https://stackoverflow.com/questions/61169431/sendgrid-link-branding-gives-ssl-issue