Discussions

Ask a Question
Back to All

Sending pdf link (as href with button) in the html content

Hi team,

I'm trying to send an email with content type html. And the html contains a button with href link as :
https://icrmimages2.hkrtcdn.com/admin_file/file-1038937122/1593759665016.pdf

When I hover over the button, I can see that this link is converted to something like :
http://delivery.pepisandbox.com/QKGJANX?id=110052=dh0EAwMCVQNQSARSAlUIUwhWBUg=Sg1eQFBWVllISFBeUQRNclBADFEKQFgLVABbAkoDG1dWCEsHBAECB1cMBwACVwYBBgNSAh5cQBZCXxdMXANZXU8ARU8fSFRAD0tQXlEDW0ocUQpbTWV/JXgkdjsHD1FIT1c=&fl=XRVAQkEIShkLV0YPWwhZBF0VBxpRDkVCUlxfHgVXXB9UBVlbXG0DXw5RGwRbCV1OCVYGDABWAAcDCh4BUwECBwBYAgQHAlQATERQBA==

This is however redirected to my original link,

But the problem arises when I'm opening it in my phone. Whenever the link ends with .pdf, it is just opened within gmail/browser (without downloading it). But since, this link is converted to some other link by your end and .pdf is removed from it. And when it's redirected to the .pdf link, it just downloads to pdf file in the phone.

I want this to be opened in browser only. Please see, what you can do here ?