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