26

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:

  1. did the Domain Authentication and Link Branding

  2. Added all the necessary record to my DNS configs

  3. All verified in SendGrid dashboard.

  4. Tried sending an email and click on the link it gives me this

enter image description here

Yahia Bat
  • 564
  • 5
  • 12

4 Answers4

6

I think the issue might be that you that you use https links, but you don't have a "TLS pass-trough" set-up for them. It's really poorly explained on Sendgrid's branded links help page, but you can see a mention of it here. Basically you need something that will resolve TLS on your side and forward the request to sendgrid. It can be a proxy, as suggested on that help page, or i.e. a cloudfront distribution with a custom origin pointing to sendgrid and a certificate covering your branded link domain covered.

guessimtoolate
  • 8,372
  • 2
  • 18
  • 26
4

If you're using Cloudflare, I had luck following this guide in their documentation in order to get it to work. Sendgrid also recommends Fastly and KeyCDN.

The only drawback is you also have to contact customer support in order to request that SSL click and open tracking be enabled on your account.

rojo
  • 41
  • 1
  • Works great. The customer support was very responsive though and it was all set up within 48h. – Jakob Oct 20 '21 at 07:50
-1

If the destination link is http: and Chrome has Settings->Privacy->Advanced SSL warning switched on this happens as well. The url shortener url is https but the destination being http.

Epirocks
  • 480
  • 4
  • 11
  • Telling people to disable security features on their local system is not going to fix the problem for clients/users of the links outside of your own laptop/desktop. I also highly recommend not disabling that setting. – gabeio Aug 25 '23 at 15:07
  • @gabeio Where did I tell people that? – Epirocks Aug 26 '23 at 19:35
-2

Give API Key its full access, follow steps:

  1. Settings
  2. API Keys
  3. Edit API Key
  4. Full Access
  5. Update

Whitelist your domain, follow steps:

  1. Settings
  2. Sender Authentication
  3. Domain Authentication
  4. Select DNS Host
  5. Enter your domain name
  6. Copy all records and put them in your Advanced DNS management console

Add a branded link, follow steps:

  1. Settings
  2. Sender Authentication
  3. Link Branding
  4. Follow the steps on the screen
  5. 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

kartoon
  • 1,040
  • 1
  • 11
  • 24
  • 3
    This is the process in the documentation and the process I followed before. I just ran through it again just to be sure and I'm still having certificate problems. So thanks but it seems that the solution is to use something other than SendGrid. Shame, they used to be cool but now they don't even answer support requests. – mu is too short May 27 '20 at 07:40